Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by David Martens,
1. Mai 2010
Du könntest auch man probieren das OnClick Ereignis des Formulars zu nehmen, das sollte bei jedem Click gefeuert werden, auch wenn du eigentlich auf ein Control im Formular clickst.
Gruß David
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by David Martens,
29. Apr 2010
Also ich würde das mit zwei boolean Variablen machen. z.B.: bPopupShows, bStatusbarPressed
- initial beide false
- beim Click auf die Stausbar: bStatusbarPressed := true wenn bPopupShows = false und bStatusbarPressed = false sonst bStatusbarPressed := false
- beim Click auf die Stausbar: bPopupShows := false wenn bPopupShows = true
- beim OnShow des Popup: bPopupShows := true
Ich hoffe...