Skip to main content

TdxStatusBarTextPanelStyle.AutoHint Property

Specifies whether the panel displays hint texts of hot-tracked controls.

Declaration

property AutoHint: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

Hint windows can be quite large and may hide controls on a form. So, your application may require the ability to display control hints within a status bar panel. The easiest way to do this is to set a text panel’s AutoHint property to True. Alternatively, you can switch the status bar to display a simple text panel and set its AutoHint property to True. After this, the panel will display hints of UI elements that are currently located under the mouse pointer. Note that only a single panel can have the AutoHint property set to True.

The following hints are supported:

If you only want the hint text to be displayed within the status bar, ensure that the control’s ShowHint property value is False.

If the AutoHint property is set to True, the text panel displays text specified by the Text property until a UI element with an assigned hint is hot-tracked. Once the mouse pointer leaves this element, the panel displays no text until the mouse pointer hot-tracks any other UI element with an assigned hint.

Note

If the status bar control’s OnHint event is handled, the AutoHint property value is ignored. In this instance, you should implement your own logic to display hints within the panel.

The default value of the AutoHint property is False.

See Also