Am 11.08.2016 um 12:00 schrieb Maxi <[email protected]>:
> 
> 
> Date: Wed, 10 Aug 2016 11:01:54 -0300
> From: Maxi <[email protected]>
> To: Lazarus mailing list <[email protected]>
> Subject: Re: [Lazarus] controling a loop
> Message-ID: 
> <CAOL=naqyxvd0o20hwkxqqk9sr5g2hpkj1qve1r_wdaxy7m7...@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.
-- 
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to