Board index » delphi » start after first full drawing of main form

start after first full drawing of main form

Hi

I would like to call some methods after the application finished
starting and displays already the first form.

Many thanks already in advance for your help

Ronny Straus

 

Re:start after first full drawing of main form


In article <34D5953E.5...@systor.com>, Ronny Straus <ronny.str...@systor.com>
writes:

Quote
>I would like to call some methods after the application finished
>starting and displays already the first form.

Set a global variable FirstActivate to true, then in the FormActivate handler
enclose your calling code in a . . .

if FirstActivate then begin
  FirstActivate := false;
  {what you want to call}
end;

. . . wrapper.

Alan Lloyd
alangll...@aol.com

Re:start after first full drawing of main form


If you just want to call some methods after the main form has finished
displaying, put the method calls in the project source after the main form
is created and shown.  Of course, the application wouldn't have actually
"started" yet...

Ronny Straus <ronny.str...@systor.com> wrote in article
<34D5953E.5...@systor.com>...

Quote
> Hi

> I would like to call some methods after the application finished
> starting and displays already the first form.

> Many thanks already in advance for your help

> Ronny Straus

Other Threads