Thema: Delphi form2 vor form1

Einzelnen Beitrag anzeigen

Benutzerbild von Sanchez
Sanchez

Registriert seit: 24. Apr 2003
Ort: Neumarkt Stmk
892 Beiträge
 
Delphi XE6 Enterprise
 
#3

Re: form2 vor form1

  Alt 17. Okt 2003, 06:42
hallo .morpheus

Das erste Form, dass in der Projektdatei erzeugt wird, wird dann angezeigt. Daher musst du die CreateFOrms einfach umdrehen:

Delphi-Quellcode:
begin
  Application.Initialize;
  Application.CreateForm(TForm2, Form2);
  Application.CreateForm(TForm1, Form1);
  Application.Run;
end.
grüße, daniel
Daniel
Testen ist feige!
  Mit Zitat antworten Zitat