View Full Version : Tooltip problem

01-04-2009, 09:00 PM

I have a problem concerning a UIComponents tooltip.

I want to change the components tooltip when the mouse is moved. The tooltip text depends on the current x-value of the mouse pointer. If I move the mouse alongside the component and it reaches a specific position another tooltip should be displayed.

It works fine, but only if I leave the component with the mouse pointer and reenter it again at another position. If I stay inside the component the tooltip isn't updated and keeps at the same the same position.

Is there a way to update the display of the tooltip without leaving the component? Something to redraw the tooltip at the current mouse position?


01-05-2009, 07:27 PM
I think you can use the ToolTipManager.currentToolTip to reference the actual display object. From there you can control it like any other display object. However, the automation controls might mess with you a bit. You may end up needing to use something other then a tool tip to get the functionality you want.

Best Regards,