# Get rid of this tool tip

**URL:** <https://forum.inductiveautomation.com/t/get-rid-of-this-tool-tip/80155>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [October 6, 2023, 8:06pm UTC](https://forum.inductiveautomation.com/t/get-rid-of-this-tool-tip/80155 "2023-10-06T20:06:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Art\_Irvin](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@Art\_Irvin](https://forum.inductiveautomation.com/u/Art_Irvin)\
**Post date:** [October 6, 2023, 8:06pm UTC](https://forum.inductiveautomation.com/t/get-rid-of-this-tool-tip/80155/1 "2023-10-06T20:06:20Z")

</div>

Anyone have a trick to get rid of the tool tip on the page navigation at the bottom of the 'Report Viewer' while keeping the navigation?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/7/5715176328c1babdc025461030967790ea002039.png)

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [October 7, 2023, 10:50am UTC](https://forum.inductiveautomation.com/t/get-rid-of-this-tool-tip/80155/2 "2023-10-07T10:50:42Z")

</div>

Here's a script that will do it for you:

```auto
# Only runs once during initialization from the report viewer's propertyChange event handler
# Note: This won't run in the designer 
# ...UNLESS the designer is already in preview mode when the window is opened
if event.propertyName == 'componentRunning':
	# Import the JButton class
	from javax.swing import JButton
	
	# Recursive function to find all of the JButtons
	def removeButtonTooltips(reportViewer):
		for component in reportViewer.getComponents():
			
			# When a JButton is found, remove the tooltiptext
			if isinstance(component, JButton):
				component.toolTipText = None
			removeButtonTooltips(component)
			
	# Call the recursive function and pass in the report viewer
	removeButtonTooltips(event.source)

```

It simply finds all of the JButtons within the report viewer component and removes the tooltiptext.

Edit: removed unneeded variable assignment, and changed the function name to make it more intuitive.
