[Lazarus] controling a loop

Schindler Karl-Michael karl-michael.schindler at web.de
Thu Aug 11 13:21:24 CEST 2016


Am 11.08.2016 um 12:00 schrieb Maxi <maximiliano.duarte at gmail.com>:
> 
> 
> Date: Wed, 10 Aug 2016 11:01:54 -0300
> From: Maxi <maximiliano.duarte at gmail.com>
> To: Lazarus mailing list <lazarus at lists.lazarus-ide.org>
> Subject: Re: [Lazarus] controling a loop
> Message-ID: <CAOL=nAqYXvD0o20hWkXqQK9sR5G2HPKJ1Qve1r_wdAxY7M7_Tg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> CheckBox.Click(Sender:TObject);
> begin
>  repeat
>    Some Action …
> 
>    Appication.ProcessMessage;
> 
>  until (CheckBox.State <> checked)
> end;

Besides the typo ;-) Application.ProcessMessages did the trick. Thanks.


More information about the Lazarus mailing list