Autor Beitrag
rokdd
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 329

Win XP
D6
BeitragVerfasst: Di 03.02.04 18:07 
Hallo,
ich möchte erkennen welche forms zurzeit angezeigt werden, damit ich sie bis auf eine bestimmte wieder schließen kann.
wie macht man so etwas???


rokdd


Zuletzt bearbeitet von rokdd am Mi 11.02.04 18:40, insgesamt 1-mal bearbeitet
MaxiTB
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 679

Win2000, WinXp, Workbench ;-)
D7 Ent, VS2003 Arch.
BeitragVerfasst: Di 03.02.04 18:35 
Schwierig, schwierig ...

Wird das Form dynamisch geöffnet - oder schon vorher mit Application.CreateForm erstellt ?

Weil zweiter Punkt ist einfach, einfach :wink: .

Erster ist ohne weiters ... eh schon gelesen. :roll:

_________________
Euer Mäxchen
Wer früher stirbt, ist länger tot.
rokdd Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 329

Win XP
D6
BeitragVerfasst: Di 03.02.04 18:37 
Titel: re:
hallo,
die form wir d nur noch mit show angezeigt und ist schon "createt" wurden.


rokdd
MaxiTB
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 679

Win2000, WinXp, Workbench ;-)
D7 Ent, VS2003 Arch.
BeitragVerfasst: Di 03.02.04 18:40 
Dann ists leicht. :wink:

Im Application-Object gibts ein paar Properties, wo alle erzeugten Forms enumeriert sind (ober auf delphisch: ne Liste *g*).

Ich hab jetzt nicht die online-Hilfe hier, aber schau dir einfach die properties von TApplication an ! Da wirdst du fündig :wink:

_________________
Euer Mäxchen
Wer früher stirbt, ist länger tot.
rokdd Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 329

Win XP
D6
BeitragVerfasst: Mi 04.02.04 21:06 
hallo,
habe nichts geeignetes gefunden. irgendwelchen heißen tipps????


rokdd
MaxiTB
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 679

Win2000, WinXp, Workbench ;-)
D7 Ent, VS2003 Arch.
BeitragVerfasst: Mi 04.02.04 21:15 
Components,ComponentCount,ComponentIndex !

Sind drei properties auf TApplication.

_________________
Euer Mäxchen
Wer früher stirbt, ist länger tot.
rokdd Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 329

Win XP
D6
BeitragVerfasst: Do 05.02.04 16:59 
okay das ist schon mal super! aber ich habe folgendes problem ich möchte dir form ja schließen. der typ ist aber tcomponent und denn kann man ja nicht schließen. müsste irgendwie eine tform "umwandeln". oder wird beim destroy die form geschlossen???(habe auch ein probelm zue erkennen ob die form überhaupt angeizeigt wird...(irgendiwe mit if componentstate=csdesgining(da kommt aber ein fehler!!!)))
Trotzdem danke für deine hilfe!

rokdd