Submitted bug 19087.
We will se what their opinion is of all this.
Craig
Need help with "disabling" a button!
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Need help with "disabling" a button!
So I hid the button, clicked on the empty space, but did NOT show the button at handler's end. No events. Aha. No coordinates or targets.
And then Mark W. replied:
Craig
And then Mark W. replied:
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.
Craig