Thanks,
Mark
Begin forwarded message:
From: Mark Swindell <[EMAIL PROTECTED]> Date: February 18, 2005 12:48:26 PM PST To: How to use Revolution <[email protected]> Subject: mouseLeave and linked text question Reply-To: How to use Revolution <[email protected]>
Can someone explain the following? In the script below, in the first if/then structure, the mouse moving away from a piece of linked text causes the backgroundColor of that linked text to reset to empty. But the mouse is only moving off the linked text, not out of the field. This makes me think a piece of linked text is a control which receives a mouseLeave message. Is this correct?
But then with the repeat structure below that, only by the mouse actually leaving the field does the backgroundColor of all lines reset to empty. Which leads me to think that the linked text it was hovering over was not a control.
How does this work? Thanks Mark
on mouseLeave -- unhighlight any currently highlighted text:
if storedHilitedChunk is not empty then do "set the backgroundColor of" && \ storedHilitedChunk && "to empty" put empty into storedHilitedChunk end if
repeat with y = 1 to 3 repeat with x = 1 to the number of lines of field y set the backgroundColor of line x of field y to empty end repeat end repeat
pass mouseLeave end mouseLeave
_______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
