Autor Beitrag
ralfi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 153



BeitragVerfasst: Mi 16.06.04 16:02 
Hallo,

beim klick auf einen Button wir eine Form erstellt und angezeigt:

ausblenden Quelltext
1:
2:
3:
4:
...
Application.CreateForm(TForm3, Form3);
Form3.Show
...


Wie kann ich davor überprüfen, ob die Form bereits estellt wurde und gerade angezeigt wird?
SvenAbeln
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 334
Erhaltene Danke: 3



BeitragVerfasst: Mi 16.06.04 16:54 
Hi,

prüfen ob das Form schon erstellt ist mit
ausblenden Delphi-Quelltext
1:
if assigned(Form3) then ....					



Testen ob es angezeigt wird (aber erst prüfen ob es existiert)
ausblenden Delphi-Quelltext
1:
if Form3.Visible then ...					



Gruß