MOBrien Posted May 31, 2015 Share Posted May 31, 2015 Hi, I'm wondering if there's a way to display textual information on a tooltip - when the user hovers over an image or object? I can probably get around this by using a visible/invisible bit of code based on clicking the item - but if there's a smoother way to do this, that would be great Thanks Link to comment Share on other sites More sharing options...
AzeoTech Posted June 1, 2015 Share Posted June 1, 2015 Unfortunately there isn't a simply way of doing this. If you really want to do it, you'll probably want to use the OnMouseMove event to look for when it is over a component, but it can be tricky, as mouseMove has to be fast. You'll probably want to use the mousemove on both the component and the system level. I've attached a 5.91 example that does the job. I use a button component as the tooltip as a button has a panel and text combined. You could also create a group with a panel component and a text component, or something similar. Note that the tooltip is smooth because I have the refresh rate of the page set to 0.1. Code is in the OnMouseMove event of each component, and the sequences. Link to comment Share on other sites More sharing options...
MOBrien Posted June 17, 2015 Author Share Posted June 17, 2015 Thank you - I have ended up going for a panel and text combination - as the mouse responsiveness on the PC this is running is a little slow. Thank you for your help Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.