Author: Tomas Rutkauskas How to display hints on the status bar Answer: The following unit demonstrates displaying the hint on the status bar: 1 unit Unit1; 2 3 interface 4 5 uses 6 Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, 7 ComCtrls; 8 9 type 10 TForm1 = class(TForm) 11 StatusBar1: TStatusBar; 12 procedure FormCreate(Sender: TObject); 13 private 14 { Private declarations } 15 public 16 { Public declarations } 17 procedure ApplicationHint(Sender: TObject); 18 end; 19 20 var 21 Form1: TForm1; 22 23 implementation 24 25 {$R *.DFM} 26 27 procedure TForm1.ApplicationHint(Sender: TObject); 28 begin 29 StatusBar1.Panels[0].Text := GetLongHint(Application.Hint); 30 end; 31 32 procedure TForm1.FormCreate(Sender: TObject); 33 begin 34 Application.OnHint := ApplicationHint; 35 end; 36 37 end.