Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2016-01

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

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Krzysztof

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.freepascal.org/pipermail/lazarus/attachments/20160104/c0315a26/attachment.html>

Reply by email