Rainer von Saleski asked
>Does anyone know of a concise chart or diagram
>of how the different events
>are invoked during form execution?
No, but you can roll your own. E.g. Drop a TApplicationEvents on your
main form. Fill in all the events you're interested in as illustrated
below and check the event log (View/Debug Windows). I took the
TApplicationEvents along just to remind you of the difference between
the TApplication OnActivate event and the TForm OnActivate event.
hth malcolm
procedure TForm1.FormActivate(Sender: TObject);
begin
OutputDebugString(PChar('FormActivate'));
end;
procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);
begin
OutputDebugString(PChar('FormClose'));
end;
procedure TForm1.FormCreate(Sender: TObject);
begin
OutputDebugString(PChar('FormCreate'));
end;
procedure TForm1.FormDestroy(Sender: TObject);
begin
OutputDebugString(PChar('FormDestroy'));
end;
procedure TForm1.FormDeactivate(Sender: TObject);
begin
OutputDebugString(PChar('FormDeactivate'));
end;
procedure TForm1.FormShow(Sender: TObject);
begin
OutputDebugString(PChar('FormShow'));
end;
procedure TForm1.ApplicationEvents1Activate(Sender: TObject);
begin
OutputDebugString(PChar('ApplicationEvents1Activate'));
end;
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi