Einzelnen Beitrag anzeigen

DualCoreCpu
(Gast)

n/a Beiträge
 
#2

Re: Verständnisfrage VCL zu Application.CreateForm()

  Alt 30. Sep 2009, 08:27
Hallo Delphifan2004,

ich vermute mal, CreateForm kapselt die sonst manuell ins Hauptprogramm zu schreibende Anweisungsfolge:


Delphi-Quellcode:
procedure Application.CreateForm();
begin
  Form1 := TForm.Create;
  Application.InsertComponent(Form1);
  if Assigned(Form1.OnCreate) then Form1.OnCreate;
end;
  Mit Zitat antworten Zitat