LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Tooltip color

Solved!
Go to solution

Just noted that the tooltips set in the UIR editor and those applied with SetCtrlToolTipAttribute appear different Smiley Surprised

The programmatical tooltip has yellow background and 17 pixel height, while the editor one has a white background and is 19 pixel tall.

 

See this image:

 

Tooltips.jpg

 

Also, the one installed programmatically displays faster than the one set in the editor.

 

Tested up to CVI2013SP1.



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?
0 Kudos
Message 1 of 5
(4,504 Views)

Dear Roberto,

 

I am running CVI2013 SP2 and cannot confirm your observation: I am setting my tooltips programmatically using

SetCtrlAttribute ( panel_handle, control_id, ATTR_TOOLTIP_TEXT, tooltip_text );

I receive a white background, see below.

 

The earlier programmer's Toolbox tooltips indeed were slightly yellow, but I don't remember the color of SP1

 

Untitled-1.png

0 Kudos
Message 2 of 5
(4,499 Views)
Solution
Accepted by topic author RobertoBozzolo

...to state it a bit more explicitly...

 

I suspect that you're using the old programmers tooltips (SetCtrlToolTipAttribute) whereas you probably intended to use the new SetCtrlAttribute (,,ATTR_TOOLTIP_TEXT, ) Smiley Wink

Message 3 of 5
(4,486 Views)

That is exactly what I was doing.

Kudos to you for carefully reading "What's new" document on every CVI release and reminding all of us of new features! Smiley Happy



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?
0 Kudos
Message 4 of 5
(4,447 Views)

I'm glad for providing a useful answer....

I'm not so much reading the Whats New section but I was begging for these tooltips for such a long time that I immediately adapted them when they became available Smiley Happy

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