Autor Beitrag
GSE
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Mo 19.01.04 16:44 
Hi Leutz,

Wie kann ich herausfinden ob ein bestimmtes TPopUpMenu gerade angezeigt wird. Ich hab schon versucht im OnPopUp-Event ´ne Variable zu setzen aber es gibt ja kein OnClose-Event. Wie kann ich also abfragen ob das Menu gerade geöffnet oder geschlossen ist?

Danke im Vorraus.

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)
MaxiTB
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 679

Win2000, WinXp, Workbench ;-)
D7 Ent, VS2003 Arch.
BeitragVerfasst: Fr 23.01.04 20:27 
Einzige Möglichkeit die mir einfällt, alle TPopupMenus speichern in ner applikationsweiten Liste und jedes einzelne überpfüfen ob visible.

So kann man z.B. einfach alle sichtbaren schließen ... aber eh - ich habs noch nie ausprobiert, ist nur so eine Idee !

_________________
Euer Mäxchen
Wer früher stirbt, ist länger tot.
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: Fr 23.01.04 20:46 
Hi

Google möchte dein Freund werden:

tinyurl.com/2wsbf
GSE Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 740

Win 2k, Win XP Pro
D5 Prof, D6 Ent, D2k5 PE
BeitragVerfasst: Sa 24.01.04 11:19 
Thx,
funktioniert :D

mfg
GSE

_________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs
and the universe trying to produce bigger and better idiots. So far, the universe is winning. (Richard Cook)