I hate mousedown
Thomas McGrath III
3mcgrath at adelphia.net
Thu Apr 28 18:07:50 EDT 2005
Jonathan,
I did not know that at all. I haven't played with the drag stuff too
many times. I am intrigued by it and am off to test some code.
It is sort of like faking the drag in order to make use of the other
messages. Very cool.
Thank you very much,
Tom
On Apr 28, 2005, at 2:55 PM, Lynch, Jonathan wrote:
> If you put something into the dragdata, then yes, drag messages will
> be sent.
>
> If what you want is for objects under a mouse to receive a message
> when the mouse enters the screen area of that message, while the
> mousebutton is currently being pressed, then that is the way to do it.
>
> Mouseenter does not work while the mouse button is down. Dragenter
> works, but only if something is being dragged. So - on mousedown for a
> given button, you put something into the dragdata - then something is
> being dragged and a dragenter message will be sent when the mouse
> enters another object.
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
More information about the use-livecode
mailing list