Board index » delphi » Howto display TMenuItem's hint

Howto display TMenuItem's hint


2003-11-11 04:21:11 PM
delphi47
Hello folks!
This should be an easy one:
How can be TMenuItem's hint shown if there is hint text defined for menu item's hint property?
 
 

Re:Howto display TMenuItem's hint

In Application.OnHint event
StatusBar1.SimpleText := GetLongHint(Application.Hint);
Read more in the help.
"Pekka Nyyssönen" <XXXX@XXXXX.COM>writes
Quote
This should be an easy one:
How can be TMenuItem's hint shown if there is hint text defined for menu
item's hint property?
 

Re:Howto display TMenuItem's hint

On Tue, 11 Nov 2003 10:57:45 +0100, Finn Tolderlund<XXXX@XXXXX.COM>said ...
Quote
In Application.OnHint event
StatusBar1.SimpleText := GetLongHint(Application.Hint);
Or set the AutoHint property of the status bar to true.
Marc