object beneath mouseLoc?
John Dixon
dixonja at hotmail.co.uk
Mon Jul 4 08:02:39 EDT 2011
Would 'mouseWithin' help ?
on mouseDown
repeat until the mouseLoc is not within the rect of me
put the mouseLoc
wait 0 millisecs with messages
end repeat
beep
end mouseDown
> >> I have a feeling that on mouseLeave works whether the mouse button
> >> is up or down.
> >
> > About mouseLeave from the docs:
> >
> > "If the mouse button is down when the mouse pointer leaves the
> > control, the mouseLeave message is not sent until the mouse button is
> > released."
> >
> > --
> > Nicolas Cueto
More information about the use-livecode
mailing list