LabWindows/CVI Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Wolfgang

Tooltips Dimmer Callback

Status: New

As discussed here earlier I am using tooltips that show 'dynamic' information, e.g. the permitted data range of the respective control, available user actions..., These frequently depend on several other controls and parameters.

 

Right now, all other affected controls etc. need to call a function to re-build the tooltip text, and to more than 90% this is wasted effort because the tooltip text is changed again before it may get displayed...

 

Thus I would like to suggest a 'dimmer callback', similar to the menu dimmer callback. This 'tooltip dimmer callback' should be called just before the tooltip is going to be displayed, allowing to build/update the tooltip text only when needed.

 

Thanks

1 Comment
SpaghettiCoder
Member

I stumbled over this because I wanted a computed tooltip. I also would find it useful if there was a direct event for that.

 

I helped myself with the "Mouse Enter" Event in which I update the tooltip. Although this might result in a few computations of the string that might not be necessary, it is surely better than keeping the tooltip up to date.

 

 

EDIT:

Sorry, I followed a search link and did not recognize this is labwindows and not labview...