[Lazarus] Lazarus and Application.ProcessMessages

Michael Schnell mschnell at lumino.de
Thu Dec 4 09:35:05 CET 2014


On 12/03/2014 11:37 PM, Terry A. Haimann wrote:
> I have a program that starts some background processes and then needs to
> go to sleep for 15 seconds or so and then come back and check on their
> statuses.

A "more decent" way is to leave the current event and use a TTimer (e.g. 
with en event counting down seconds) and do the necessary stuff in the 
timer event.

-Michael




More information about the Lazarus mailing list