tedl at voyager.net
Mon Dec 9 19:53:01 CST 2002
Barry, flushEvents works fine for me in Mac 0S 9 and Windows 98, when I place
this near the end of the handler:
put flushEvents(mouseUp) into temp
I haven't tried it in OS X.
Can you test your script in OS 9 to see whether it works there?
Date: Sun, 8 Dec 2002 15:33:56 -0700
Subject: flushEvents() problem
From: Barry Levine <themacguy at macosx.com>
To: use-revolution at lists.runrev.com
Reply-To: use-revolution at lists.runrev.com
I'm trying to trap for errant mouseUp events (like the user clicking
twice on a button). I've added the following line of code to my scripts:
get flushEvents (mouseUp)
The result is that Rev crashes (v1.1.1 under MacOSX).
I then try replacing that line of code with:
put flushEvents (mouseUp) into trashVar
Same result: *boom*
Any advice would be appreciated.
More information about the use-livecode