[Gambas-user] How to use MessageView when closing a form?
bsteers4 at gmail.com
Thu Aug 26 22:25:51 CEST 2021
I vision some awesome new command like
Public Sub Form_MouseUp()
Function is run freely and event handler exits.
I've had many a condition where I wanted out of the event handler, it
usually involves event handler just starting a Timer that runs the commands.
Something built it would be cool 😎
On Thu, 26 Aug 2021, 21:06 Benoît Minisini, <g4mba5 at gmail.com> wrote:
> Le 26/08/2021 à 21:42, Jussi Lahtinen a écrit :
> > You should not use WAIT inside an event handler. Use sleep instead, if
> > there isn't a better solution (I would guess there is).
> > If the problem is high CPU usage, then simply increase the IDLE time,
> > example;
> > Sleep 0.3
> > Jussi
> Please, this is worse. You should not use Wait, and you must not use
> Sleep! Why sleeping inside an event handler???
> Benoît Minisini
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User