I know that I've seen this somewhere before, but I can't find the words to search on which tell me about the command that clears the queue of buttons that the user has already clicked
Scenario :
1) User is clicking on buttons as part of a game
2) User reaches the end point of the game, but has overshot by clicking too many buttons
The user has already won - how do I clear the excess of user button clicks?
Thanks in advance
How to clear queued pushed button messages
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: How to clear queued pushed button messages
See "flushEvents" in the dictionary.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: How to clear queued pushed button messages
Thanks. I was searching on "Clear", "Delete", "Empty" etc. Never thought of "Flush" 

-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: How to clear queued pushed button messages
The name was borrowed from an old Mac API call. If that one seems unintuitive check out the ink property values, also borrowed from the same source.KimD wrote:Thanks. I was searching on "Clear", "Delete", "Empty" etc. Never thought of "Flush"

Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn