object beneath mouseLoc?

Nicolas Cueto niconiko at gmail.com
Mon Jul 4 06:45:55 EDT 2011


> 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...

--
Nicolas Cueto




More information about the use-livecode mailing list