Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Programm FormCreate schließen klappt nit (https://www.delphipraxis.net/12105-programm-formcreate-schliessen-klappt-nit.html)

Matze 21. Nov 2003 16:12

Re: Programm FormCreate schließen klappt nit
 
Bei mir geht das so:
Delphi-Quellcode:
procedure TForm1.FormActivate(Sender: TObject);
begin
  Close;
end;

Christian Seehase 21. Nov 2003 20:55

Re: Programm FormCreate schließen klappt nit
 
Moin Thorben,

könntest Du das Programm nicht als Konsolenprogramm erstellen.
Dann hast Du kein Formular.

Eine andere Möglichkeit, diesmal mit Formular:
Setze die Breite und Höhe im OnCreate auf 0, und schliesse das Programm z.b. im OnShow mit close wieder.


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:16 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz