send ___ to me in ___ sec
Dar Scott
dsc at swcp.com
Wed Apr 24 02:34:01 EDT 2002
On Wednesday, April 24, 2002, at 12:24 AM, Dar Scott wrote:
> It is even more complicated. Suppose a handler takes a long time
> to execute. (Bad style, normally, but suppose.) Suppose some
> messages in pending messages come due and some mouse events come
> in during this execution. After the handler completes then the
> due (ready) messages are executed and then, it seems in my
> scripts, only one message from events that came in, the one for
> the first event. At least for mouseDown and mouseUp, the latter
> is lost.
I goofed. I shouldn't have mentioned this since my testing was
incomplete.
If I click once on a button during the execution of of a handler,
only the mouseDown is executed, the mouseUp is not.
But...
If I click several times, then several events become messages.
Some are lost. Both mouseDown and mouseUp appear in those.
And after trying the single click test again, I find that sometimes
the mouseUp handler is called.
So... strike all I said about only one event after a long execution
of a handler.
(I don't know what to think of missing events.)
Dar Scott
More information about the use-livecode
mailing list