How to avoid errant mouse events?

Barry Levine themacguy at macosx.com
Mon Dec 9 16:40:01 EST 2002


I posted this question under another subject name but will ask again as 
I have not received any response yet.

How do I prevent my app from registering that a second mouseUp event 
has happened on an object while it is already performing the handler 
that resulted from the first mouseUp? I've tried flushEvents(all) and 
flushEvents(mouseUp) but it seems to crash Rev every time. Perhaps I'm 
calling this at the wrong time? I'm now using lockMessages and it seems 
to work but I'm wondering if I'm introducing something that will come 
back to haunt me later on in the development process.

Thanks,
Barry




More information about the Use-livecode mailing list