mouseLeave and linked text question

Mark Swindell mswindel at santacruz.k12.ca.us
Mon Feb 28 18:40:27 EST 2005


Yes, that's what the case was.  I figured it out after looking closer 
at things.  It was seeing the commented line, and then my own user 
brainlock that stopped me from seeing what was really going on.

Thanks for getting back.

Mark

On Feb 28, 2005, at 2:08 PM, Jeanne A. E. DeVoto wrote:

> Sorry I'm seeing this and responding so late. The above looks like a 
> mutation of the highlight-text script that I wrote for the original 
> documentation.
>
> The mouseLeave handler actually *isn't* invoked when you move the 
> mouse off of linked text but leave it inside the field. Take a look in 
> the script for the companion mouseMove handler, which has some similar 
> code. The mouseMove handler, not mouseLeave, controls the 
> unhighlighting in this case.
>
> The mouseLeave handler is in the way of being a backup, to make sure 
> that moving the mouse quickly out of the field doesn't leave 
> "highlight droppings" if the mouse is moving too fast to trigger 
> mouseMove before it leaves the field.



More information about the use-livecode mailing list