Autor Beitrag
achi 3.0
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 63



BeitragVerfasst: Mi 28.01.09 15:01 
Hallo, ich möchte nach dem Schließen einer Form eine andere Form mit z.b. Form2.Showmodal
aufrufen
ausblenden Delphi-Quelltext
1:
2:
Form1.close;
Form2.showmodal;

Das Problem ist das wenn form2 offen ist auch form1 noch offen ist. das sieht unschön aus.

Gruß

Moderiert von user profile iconmatze: Delphi-Tags hinzugefügt
itspeed
Hält's aus hier
Beiträge: 13

Win NT/2000/XP/Vista, Server 2003/2008
Delphi 2006 Architect, 2009, Clarion, Oberon
BeitragVerfasst: Do 05.02.09 00:54 
Versuchs mal mit (getippt nicht getestet):

ausblenden Delphi-Quelltext
1:
2:
3:
Form1.Visible := false;
Form2.ShowModal;
Form1.Close;


Gruss ITspeed

PS: alles im Help zu finden...