object beneath mouseLoc?

Keith Clarke keith.clarke at clarkeandclarke.co.uk
Mon Jul 4 06:55:10 EDT 2011


Could you track mouseEnter messages to capture the object rect entered (or does that only work on fields - sorry not on my LC machine to check the docs)?
Best,
Keith..

On 4 Jul 2011, at 11:45, 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...
> 
> --
> 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