Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5372

Tooltips are not updated immediately (although they should)

$
0
0

Hello,

 

I am programmatically setting the tooltip text using ATTR_TOOLTIP_TEXT. Unfortunately, the new text is displayed only after the mouse has been moved away from the control and back to the control, i.e. after a new tooltip has been generated.

 

I understand that this is due to the current implementation but

  • I consider it an inconsistent attribute behavior (e.g., dimming a control happens "immediately")
  • I would like it much better if the tooltip text would be updated "immediately" after setting the attribute :smileyvery-happy:

 

The reason for my "complaint" is the following: I have a string control that displays a path name. Usually the path name is longer than the string control so the control displays an abbreviated name while the tooltip shows the full name. If the mouse is over this string control while the text of the string control is updated, the tooltip is outdated, i.e., wrong: The control shows the new file name while the tooltip displays the old one, simply because it cannot be updated "simultaneously". :smileyfrustrated:

 

Thanks for feedback :smileywink:


Viewing all articles
Browse latest Browse all 5372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>