Mouse messages while down
Jerry Daniels
jerry at daniels-mara.com
Sun Mar 18 09:46:54 EDT 2007
I prefer the method Bill Marriott suggested:
set a global (or a script local) on a mouseDown event and then track
the coordinates via mouseMove.
You can theoretically track the location of the mouse (pointer)
during mouseMove without using a local or global in a mouseDown
handler, but then you have to use "the mouse is down" to test within
the mouseMove handler, and that can be problematic as it tends to
"eat" the mouseUp message and is generally inefficient, in my
experience.
Best,
Jerry Daniels
Makers of Galaxy 1.5
http://www.daniels-mara.com/new_in_galaxy_1_5.htm
On Mar 17, 2007, at 11:03 PM, Stephen Barncard wrote:
> Jerry figured it out a while ago -- Galaxy always shows the object
> name and path of the object it is hovering above. I think mousemove
> may be part of it.
>
> from the docs: "Sent periodically while the mouse button is being
> held down."
>
>
>
> this gets close to what you want I think.
>
> ON mouseMove
> put the target
> END mouseMove
>
>
>
>> It still seems odd that I can't get the data I need without having
>> to do this.
>>
>> Cheers,
>> Sarah
>>
>
> --
>
>
> stephen barncard
> s a n f r a n c i s c o
> - - - - - - - - - - - -
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list