[Lazarus] RE : Multiple hints for a TStatusBar

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Sat May 19 13:03:54 CEST 2012

Ludo Brands wrote:
>> Please don't put significant thought into this, but does 
>> anybody have a 
>> reliable code fragment that will pop up a different hint from a 
>> multi-panel status bar, depending on which panel the mouse is over?

> This will show a hint 'Panel 1', 'Panel 2', etc. when you hover over the
> different panels. Replace StatusBar1.Hint:='Panel '+IntToStr(i); with
> whatever code to display the hint you like.

> Tested on windows.

Thanks Ludo, Just what I was looking for. Tested on GTK2 and Qt (Debian 
"Squeeze", x86).

Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

More information about the Lazarus mailing list