RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomStatusBar.OnHint Event

Occurs when the AutoHint property is true and the status bar receives a hint action.

Pascal
property OnHint: TNotifyEvent;
C++
__property TNotifyEvent OnHint;

Write an OnHint event handler to customize the way the status bar displays hints when the AutoHint property is true. When AutoHint is true and the status bar needs to display a hint, it generates an OnHint event. If the status bar has an OnHint event handler, then the status bar assumes that the event handler displays the hint and does not set the panel text to the value of the application's current hint. If there is no OnHint event handler (and AutoHint is true), the status bar displays the text of the hint in the first panel. 

OnHint does not occur if the AutoHint property is false. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!