Autor Beitrag
uph59
Hält's aus hier
Beiträge: 3



BeitragVerfasst: Sa 12.01.08 19:17 
Hallo,

ich möchte gerne beim schließen eines Formulares ein anderes Formular öffnen.
Funktioniert aber nicht. Nur wenn ich das 1. Formular mit .Hide ausblende erscheint
auch Formular2. Setze ich aber .Close kommt auch das Formular2 nicht.

Würde mich über Hilfe sehr freuen, denn allmählich geht mein Urlaub zu Ende.
Mike19
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 256

Win XP, Vista, Win 7
Delphi 2005, Turbo Delphi
BeitragVerfasst: Sa 12.01.08 19:47 
Hallo,

wenn Form1 Deine Hauptform ist, bleibt diese geöffnet bis das Programm beendet wird, also Form1.Close. Das wirst Du auch nicht ändern können. Dein Weg Form1.Hide ist schon richtig.

Gruß Micha
Mitmischer 1703
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 754
Erhaltene Danke: 19

Win 7, Debian
Delphi Prism, Delphi 7, RAD Studio 2009 Academic, C#, C++, Java, HTML, PHP
BeitragVerfasst: Sa 12.01.08 20:02 
Form2.ShowModal;

_________________
Die Lösung ist nicht siebzehn.
uph59 Threadstarter
Hält's aus hier
Beiträge: 3



BeitragVerfasst: Sa 12.01.08 20:48 
Hallo,

vielen Dank für die prompte Hilfe.
Bin schon beim nächsten Problem :
Wenn das Hauptformular als fsMDIForm eingestellt ist,
kann ich die untergeordneten fsMDIChild Formulare weder
schließen noch ausblenden ! Es erscheint folgende Fehlermeldung :
'Untergeordnetes MDI-Formular kann nicht verborgen werden.'

Grüße ... Uwe