Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Programm mit Nebenformular schließen. (https://www.delphipraxis.net/43834-programm-mit-nebenformular-schliessen.html)

ggfan 9. Apr 2005 12:46


Programm mit Nebenformular schließen.
 
Hallo,
bei meinem Programm erscheint am Anfang ein formular, das nicht Hauptformular ist und wo man Profile auswählen kann. Jetzt möchte ich, das man das Programm auch auf diesem Nebenformular beenden kann. Close ist da ziemlich unsauber, weil es nur das Formular verschwinden lässt.

Airblader 9. Apr 2005 12:54

Re: Programm mit Nebenformular schließen.
 
DeineHauptForm.Close; :?:

Es gibt auch Dinge wie Application.Terminate; aber das ist etwas..."brutal"

air

Khabarakh 9. Apr 2005 12:58

Re: Programm mit Nebenformular schließen.
 
Um es genauer zu sagen: Close der Hauptform schließt das ganze Programm.
Application.Terminate schließt das Programm ohne OnClose usw.
Halt ist das wirklich brutale, ein Programmabbruch.

3_of_8 9. Apr 2005 19:25

Re: Programm mit Nebenformular schließen.
 
Das Thema hatten wir doch vor kurzem schon mal.


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:37 Uhr.

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