12-05-2014 05:12 AM
Just noted that the tooltips set in the UIR editor and those applied with SetCtrlToolTipAttribute appear different
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:
Also, the one installed programmatically displays faster than the one set in the editor.
Tested up to CVI2013SP1.
Solved! Go to Solution.
12-05-2014 05:36 AM
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
12-05-2014 10:52 PM
...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, )
12-09-2014 03:27 AM
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!
12-09-2014 03:31 AM
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