Constraining 'grab'

Geoff Canyon gcanyon at
Tue Mar 5 23:38:01 EST 2002

At 6:46 PM -0800 3/5/02, Ken Norris (dialup) wrote:
>> No.  MouseRelease is used to trap when the user releases the mouse
>> outside of the dragged control.  A control cannot receive a mouseUp
>> message if the mouse is not within the rect of the control.
>So this procedure is a safety measure which "catches" and deals with a
>situation where someone is whanging the cursor outside the dragged object by
>moving it faster than the object can follow it, then releasing the mouse
>before the object catches up. Is this the scenario where you'd need this?

It can be several things. Your suggestion might be one, another might be if they drag the pointer outside the stack, into the menubar, etc.



More information about the use-livecode mailing list