Autor Beitrag
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: So 29.09.02 15:04 
Ich öffne via PopupMenu.Popup ein Popup. Klicke ich anschließend zum Beispiel den Windows-Desktop an, bleibt das Menu angezeigt. Wie lasse ich das Menu verschwinden, wenn es den Fokus verliert?

maxk

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
maxk Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Sa 12.06.04 09:17 
Damit es nicht unbeantwortet bleibt: Vor dem Aufruf von PopupMenu.Popup einfach SetForegroundWindow(Self.Handle) aufrufen.

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.