Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a "tool tip" type object in Lookout

I would like text to diplay when the mouse is at certain coordinates such as a "tool tip" or a "cell comment" on an excel spreadsheet. Can this be done in Lookout?
0 Kudos
Message 1 of 4
(3,161 Views)
There isn't a windows-like tooltip object, but with a little creativity you can make something like it.

What I did was to use a mouse object to determine where the cursor is at a given time. Since I had a bunch of buttons I wanted to tooltip, I used a delayon timer to determine if the mouse was over the button for 3 seconds.

If the timer turned on, then I activated a small panel, which was set up to follow the mouse. ( Panel1.X = Mouse1.X, etc). In the panel was an expression that was the actual text. It was a logical expression, with the "On" being the tooltip text, and "Off" being blank. This way, I could "stack" expressions in the panel, and only have 1 display at a time, based on the mouse's current coordinates.

Hope this helps!
0 Kudos
Message 2 of 4
(3,161 Views)
Yes, but you must build it. Use a mouse object to get the coordinates of the courser. Then, create an expression object that returns true when the mouse is in the area you desire. You can find the coordinates by displaying the X and Y data members on the screen. By using an expression you can display text and graphics when the mouse hovers in the right place. Here is an example using the arrows that ship with lookout. It can be spiced up by using the image navigator to create more suitable popup displays. Looking at an example usually explains the concept so much better (plus you can play with it sooner).
Message 3 of 4
(3,161 Views)
Thanks Tritone and Rkdomer (the example file was quick and clear). I'll be able to work with these ideas. The "Mouse object X & Y coordinates" related item below is also key. It works much better if the mouse_over is related to the panel and not the overall screen.
0 Kudos
Message 4 of 4
(3,161 Views)