Re: Need help with "disabling" a button!
Posted: Wed Jan 11, 2017 5:55 pm
Submitted bug 19087.
We will se what their opinion is of all this.
Craig
We will se what their opinion is of all this.
Craig
Questions and answers about the LiveCode platform.
https://forums.livecode.com/
I see that this was what Jacque said early on. Typical.Hi Craig,
This isn't a bug - but a side effect of using 'wait'.
When wait is called (without messages), all UI events are queued and processed
at the next event handling point - which won't be until after the mouseUp has
finished.
Since the button is visible at the point the event is processed, the click
works.
Basically, if you use 'wait' then you must also use 'flushEvents' afterwards if
you *don't* want any events accumulated during the 'wait'.
Warmest Regards,
Mark.