mouseEnter/mouseLeave Problem
Judy Perry
jperryl at ecs.fullerton.edu
Wed Apr 13 13:01:21 EDT 2005
It also looks like you took out the pass mouseWhatever lines. What
happened if you kept those but uncommented the other stuff?
Judy
On Wed, 13 Apr 2005, David Burgun wrote:
> Yes, the Script of the object is as follows (I have modified it since
> I first posted):
>
> on mouseEnter
> set foregroundColor of me to blue
> end mouseEnter
>
> on mouseLeave
> set foregroundColor of me to black
> end mouseLeave
>
> on mouseDown
> --set the layer of me to top
> end mouseDown
>
> on mouseStillDown
> -- Move the object via the mouse, sets a new rect for the object
> based on mouse movement
> end mouseStillDown
>
> If you look in the mouseDown handler, if I comment out the:
>
> --set the layer of me to top
>
> All the rectangles work as they should, if I uncomment it, I lose the
> mouseLeave message. Any one have any ideas???
More information about the use-livecode
mailing list