Skip to main content

TdxStatusBarTextPanelStyle.OnGetText Event

Enables you to specify custom text for the panel.

Declaration

property OnGetText: TdxStatusBarTextEvent read; write;

Remarks

Handle the OnGetText event to provide custom text to be displayed within the panel. For instance, this can be used to implement your own text trimming algorithm if options provided by the EllipsisType property don’t suit your needs.

The Sender parameter identifies the panel style object. The R parameter represents the bounding rectangle of the panel’s content. The text to be displayed within the panel should be assigned to the AText parameter. Initially, this parameter contains the text specified by the Text property of the panel.

See Also