LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Toolbar Tooltips In LabWindows/CVI 8.5

I know there is a very simple answer to this, but I can't find it anywhere.  I have created a toolbar on my user interface.  I followed the toolbar example almost exaclty.  The problem I have is that the tooltips do not show up when I place the mouse cursor over any of the toolbar items .  They show up just fine in the included toolbar example.  Is there a setting or attribute that I am missing?  I do not see anything special in the example regarding enabling tooltips.
0 Kudos
Message 1 of 4
(3,541 Views)
Try setting the 'description' of the toolbar item to some valid tooltip text either in the 5th parameter of Toolbar_InsertItem or by calling Toolbar_SetItemAttribute.
0 Kudos
Message 2 of 4
(3,516 Views)
I tried setting the 'description' field in the Toolbar_InsertItem and Toolbar_SetItemAttribute, but the tooltip still doesn't show up when I place the mouser over the toolbar item.  I tried changing these fields in the toolbar example included with LabWindows and it works fine (I can see the changes I made when I run the example application and place the mouser over one of the toolbar items).
0 Kudos
Message 3 of 4
(3,505 Views)

Ok, so I figured it out.  The tooltips will not show up if the panel that the toolbar is loaded on is configured with either of the two Floating Styles (Always or  When App Active).  If you make the floating style Never, the tooltips show up.

0 Kudos
Message 4 of 4
(3,483 Views)