[Gambas-user] How to use MessageView when closing a form?

Benoît Minisini g4mba5 at gmail.com
Thu Aug 26 22:05:57 CEST 2021

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

More information about the User mailing list