Thema: Delphi eine 2.Form einfügen

Einzelnen Beitrag anzeigen

Benutzerbild von 3_of_8
3_of_8

Registriert seit: 22. Mär 2005
Ort: Dingolfing
4.129 Beiträge
 
Turbo Delphi für Win32
 
#10

Re: eine 2.Form einfügen

  Alt 13. Nov 2005, 11:47
Achso. Du musst im Projekt-Quellcode Application.ShowMainForm:=False; machen und dann nach Application.Run; Form2.Show; aufrufen.

Und bei Button1.OnClick dann aufrufen:
Delphi-Quellcode:
Close;
Form1.Show;
Manuel Eberl
„The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it.“
- Terry Pratchett
  Mit Zitat antworten Zitat