ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

help message like comic

Solved!
Go to solution

hi everyone,

i want ask you something.

I want show an help message when the cursor pass on a label like a comics.

 

is it possible?

 

thanks in advance

0 Kudos
Message 1 of 5
(3,729 Views)
Solution
Accepted by topic author DamBalzani

Would a tooltip work? Here's an example for reference:

Example Programs: Attaching ToolTips to LabWindows/CVI Controls 

 

Hope this helps!

Trent

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 2 of 5
(3,605 Views)

thanks! it is perfect!

0 Kudos
Message 3 of 5
(3,567 Views)

Tooltips are a powerful means of deisplaying help on controls. With recent versions of CVI you no more need to use the tooltip instrument driver since they have been integrated in the IDE.

Starting from CVI2012, infact, you can set the tooltip text in the UI editor:

 

Screenshot 2017-05-07 18.51.34.png

 

You can also set it programmatically with the commands:

SetCtrlToolTipAttribute (panelHandle, PANEL_CONTROL, CTRL_TOOLTIP_ATTR_TEXT, "This is the tooltip text");
SetCtrlToolTipAttribute (panelHandle, PANEL_CONTROL, CTRL_TOOLTIP_ATTR_ENABLE, 1); 

 



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 4 of 5
(3,559 Views)

thanks a lot!

0 Kudos
Message 5 of 5
(3,505 Views)