LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

another way to display tooltips in the UI editor

Solved!
Go to solution

Hello,

I accidentally discovered an interesting feature:

 

If you have a tooltip text configured the tooltip usually only shows in the UI editor once you click the 'Operate Tool' button - but it also shows while the 'Edit ...control' popup panel of one of the controls of the respective panel is displayed.

Interestingly the situation is different if the 'Control Coordinates and Dimensions' popup panel is displayed, so I don't think that this behavior is by design but still it is sort of useful Smiley Wink

0 Kudos
Message 1 of 5
(4,431 Views)

Hello Wolfgang,

 

When you say that the tooltip appears while the Edit ... Control dialog is active, I assume you mean that the tooltip appears when you hover over the copy of the control in the Quick Edit Window (circled below), is that correct?

 

If so, does this happen only when the Quick Edit Window is set to operate mode (smaller red circle below), or also at other times?

 

If it happens only during the operate mode of the Quick Edit Window, then this would be expected behavior, since operating the control in the Quick Edit Window should behave pretty much like operating the control in the main UI editor window.

 

Luis

 

tooltip.png

0 Kudos
Message 2 of 5
(4,314 Views)

Hi Luis,

nice to see you here - and sorry for being unclear.

When I refer to tooltips I mean the tooltips of any control of my UI.

Since a more recent version of CVI one can define tooltips in the UI editor. Let's assume control 1 has an associated tool tip. Now if I select any control of my UI (not necessarily control 1) and then open the Edit control dialog, the tool tip on my UI is displayed if I hover over the control (my control, not the one in the Edit control panel). The Edit control panel is needed only to activate the tooltip, without it the tooltips are not shown.

In the example shown below I have the Edit control panel for a string control, while the tool tip shows for a (dimmed) numeric indicator.

 

 tt.png

 

 

By the way, the tool tip does NOT show on the control in the Quick Edit Window 

0 Kudos
Message 3 of 5
(4,307 Views)
Solution
Accepted by Wolfgang

Ah, okay, I think I understand. The bug seems to be that tooltips appear in the main UI Editor window, even when the editor is not in operate mode, as long as any Edit Control dialog, in which the Quick Edit Window is in operate mode, is active.

 

You're right, this is unexpected. I've created CAR 683744 to track it.

 

But tooltips also should display in the Quick Edit Window, as long as the Quick Edit Window itself is in operate mode (this, by the way, is what I thought you were referring to in your original post).

 

Here's a screenshot of what I see, in CVI 2017:

 

tooltip.png

 

 

0 Kudos
Message 4 of 5
(4,291 Views)

Smiley Happy I agree with you - the Quick Edit Window does show tooltips (by accident I had selected a control without tooltip text)

 

0 Kudos
Message 5 of 5
(4,287 Views)