Page 1 of 1

A bit of Bover with Hover

Posted: Fri Apr 17, 2009 9:12 pm
by user#606
I had a situation where I wanted to cause a text file to load into a field alongside a button which was contextural to the button. The user could then click the button in the normal way to exit to a different card. I thought the Hover might work or Hilite or other "suspects" but it would not work.
Is it possible to cause a script in the button to run when hovering on it, but run a different script using the on mouseup in the normal way.
The point of all this was to display help in a field that changed depending on which button was hovered over, but do something else when clicked.
Any ideas?

Re: A bit of Bover with Hover

Posted: Fri Apr 17, 2009 10:02 pm
by sturgis
Look up mouseEnter in the dictionary. Should be what you're looking for.

user#606 wrote:I had a situation where I wanted to cause a text file to load into a field alongside a button which was contextural to the button. The user could then click the button in the normal way to exit to a different card. I thought the Hover might work or Hilite or other "suspects" but it would not work.
Is it possible to cause a script in the button to run when hovering on it, but run a different script using the on mouseup in the normal way.
The point of all this was to display help in a field that changed depending on which button was hovered over, but do something else when clicked.
Any ideas?

Posted: Fri Apr 17, 2009 10:42 pm
by 822163
Thank you sturgis, that did the trick. I missed that one and I did read through the dictionary.

It is a neat effect!