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

                                          
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to