[lazarus] Application.MainForm
SteveG
steveg at nevets.com.au
Mon Sep 15 23:15:13 EDT 2003
Is it possible to use the OnIdle event without a form?
Can I create a routine to be called once the app reaches idle / ready
state ?
Mattias Gaertner wrote:
> On Tue, 16 Sep 2003 05:05:20 +1000
> SteveG <steveg at nevets.com.au> wrote:
>
>
>>2 Questions -
>>
>>1 - Using Assigned(Application.MainForm) tells me True/False, but how do
>> I wait till finished creating if False?
>
>
> After the form has finished loading, the Form1.OnCreate event is called.
> This does not mean, that all handles are fully created (theme, window sizes
> and positions). When this will happen depends on the interface and your
> windowmanager.
> If you want to react, when everything is loaded and the application is ready
> to run, use the Application.OnIdle event.
More information about the Lazarus
mailing list