target(), mouseControl(), etc. when mouse button is down

Trevor DeVore lists at mangomultimedia.com
Thu Oct 16 20:45:27 EDT 2003


On Thursday, October 16, 2003, at 06:37  PM, Monte Goulding wrote:
>> In my tests the mouseMove handler will always return the target() or
>> mouseControl() of the control the user clicked on rather than the
>> control the mouse is currently over.  Is there something I am missing
>> that will allow me to get the id of the control the mouse is over 
>> while
>> the mouse button is being held down?
>
> Oops sorry, mouseMove and the within function...

That is what I was afraid of.  Seems like there should be a built in 
function to get the controls id rather than having to test against all 
of my button objects to find out which it is over.  Oh well.

Thanks for the help Monte.

-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com



More information about the use-livecode mailing list