[Lazarus] How to close THintWindow after click on other form / application?

Krzysztof dibo20 at wp.pl
Mon Jan 4 22:13:27 CET 2016


Hi,

I need component which popup TTrackBar when click on button (something like
volume slider in multimedia players). Main form should not lose its focus
so I'm using THintWindow with TTrackBar aligned as alClient. This popup
should immediately close when user click on something else than internal
"volume slider", this include my app forms / controls but also when
activating form of another application. Problem is that events
THintWindow.OnDeactivate / OnExit are never fired. Currently I'm testing it
on Qt widgetset (Kubuntu 14.04 64 bit, Lazarus from SVN) but also need for
Gtk and Winapi widgetsets. Is it a bug?

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160104/c0315a26/attachment-0002.html>


More information about the Lazarus mailing list