On Tue, 27 Oct 2020, Mattias Gaertner via lazarus wrote:
On Mon, 26 Oct 2020 13:00:26 +0100 (CET)
Michael Van Canneyt via lazarus <lazarus@lists.lazarus-ide.org> wrote:
[...]
Procedure HandleMainLoop;
begin
{$IFDEF NOGUI}
CheckSynchronize;
{$ELSE}
Application.ProcessMessages;
{$ENDIF}
end;
And call that both in GUI and NOGUI.
Application.ProcessMessages calls CheckSynchronize in NoGUI.
NOGUI does not mean 'use nogui LCL'
He does not use the LCL in that mode, so Application is not available.
Michael.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus