Autor Beitrag
SpeedyFighter1
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 53



BeitragVerfasst: So 11.02.07 21:00 
Huhu,
ich wollte ein Form2 so einstellen, dass es auf dem Form1 stehts und erst geschlossen werden muss, damit man wieder auf Form1 zugreifen kann.
Ich hab bereits bei Form2 FormStyle=fsStayOnTop gesetzt, aber das klappt dann immer noch nicht.
Wäre nett, wenn mir jmd. helfen könnte.
Vielen Dank.
mfg SpeedyFighter1
Shorty
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 107

Win XP, Ubuntu 8.04
Delphi 7 Prof., Delphi 2005 Pers.
BeitragVerfasst: So 11.02.07 21:02 
Ich glaube du meinst
ausblenden Delphi-Quelltext
1:
2:
Form2.Show;
Form1.Enabled:= false
oder?

um dann wieder auf Form 1 zuzugreifen halt:
ausblenden Delphi-Quelltext
1:
2:
Form2.Hide;
Form1.Enabled:= true
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: So 11.02.07 21:04 
ausblenden Delphi-Quelltext
1:
Form2.ShowModal;  // statt Form2.Show;					

Dann kann Form1 erst wieder bedient werden, wenn Form2 geschlossen wird;

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)