object beneath mouseLoc?

Richmond Mathewson richmondmathewson at gmail.com
Mon Jul 4 07:18:46 EDT 2011


On 07/04/2011 01:45 PM, Nicolas Cueto wrote:
>> Try "the mouseControl" - that should work.
>> Phil
> Thanks, Phil. Didn't know about that function. But, still a no-go.
>
> My script relies on mouseMove and mouseStillDown to let the user
> select grouped objects by dragging the mouse. I'd also now like the
> script to "know" when the user has moved out of an object, even if the
> mouse is down. According to the docs, though, "if the mouse button is
> down, the mouseControl function returns the control that was clicked,
> even if the mouse has moved to another control". I tested mouseControl
> out anyway, and sure enough, only the clicked control gets returned.
>
> Perhaps there's other suggestions...

I have a feeling that  on mouseLeave  works whether the mouse button
is up or down.
> --
> Nicolas Cueto
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list