Autor Beitrag
Zlatan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 175



BeitragVerfasst: Do 03.02.11 15:09 
Normalerweise sollte bei dem Befehl Form1.Close;
das Programm schließen (aber nur wenn Form1= Hauptformular)

Bei mir schließt sich nur die Form, auf der der Button mit dem Befehl Form1.Close; steht

Heißt das jetzt, dass Form1 bei mir nicht das Hauptformular ist?
Wenn ja wie mache ich es zum Hauptformular?
Crombo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 54
Erhaltene Danke: 8

Windows 7, Windows Vista, Windows XP
Delphi XE Architect, Visual Studio 2010 Professional
BeitragVerfasst: Do 03.02.11 15:11 
Hallo,

gehe in der IDE im Menü auf Formulare und schau nach, was dort deine Hauptform ist. Dort kannst du auch verschiedene Einstellungen vornehmen (wie zum Beispiel einstellen, dass bestimmte Formulare dynamisch von dir erstellt werden und nicht automatisch beim Programmstart).

Crombo

_________________
one day your life will flash before your eyes. make sure it's worth watching

Für diesen Beitrag haben gedankt: Zlatan
Zlatan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 175



BeitragVerfasst: Do 03.02.11 15:24 
Wo ist IDE ?
Könnte das auf Englisch anders heißen?
Ich habe delphi in Englisch
Crombo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 54
Erhaltene Danke: 8

Windows 7, Windows Vista, Windows XP
Delphi XE Architect, Visual Studio 2010 Professional
BeitragVerfasst: Do 03.02.11 15:27 
Hallo,

bei mir ist es so: Projekt->Optionen->Formulare->Hauptform
Ich arbeite mit Delphi XE

Crombo

_________________
one day your life will flash before your eyes. make sure it's worth watching

Für diesen Beitrag haben gedankt: Zlatan
Zlatan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 175



BeitragVerfasst: Do 03.02.11 15:30 
OK habs gefunden und Form1 ist das Hauptformular

Trotzdem löst es mein Problem nicht
Das Programm will sich einfach nicht schließen lassen :evil:
somebody
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 167
Erhaltene Danke: 2



BeitragVerfasst: Do 03.02.11 15:34 
Joa, Delphi hat halt manchmal so kleine Macken, wenn man auch nur was kleines umstellet, ändert sich manchmal alles.
Probiers mal mit

ausblenden Delphi-Quelltext
1:
Application.Terminate;					


Damit sollte sich das Programm dann beenden.
Zlatan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 175



BeitragVerfasst: Do 03.02.11 15:43 
Brauch ich nicht mehr
Habe mein Programm etwas umgebaut

Danke trotzdem :D