TdxStatusBarTextPanelStyle.EllipsisType Property
Controls the type of the ellipsis that appears when the text does not fit the text panel’s area.
Declaration
property EllipsisType: TdxStatusBarEllipsisType read; write; default dxetNone;
Property Value
Type | Default |
---|---|
TdxStatusBarEllipsisType | dxetNone |
Remarks
Using the EllipsisType property enables you to customize the appearance of text which is too long for the area of the text panel. That may happen, for example, when the user makes the window too small or when displaying long file paths. In this instance, it may be appropriate to replace some of the text by an ellipsis to inform the user that full text is not displayed.
Several kinds of ellipsis are supported:
Value | Example | Meaning |
---|---|---|
dxetNone | Ellipsis is not displayed. | |
dxetTruncate | Ellipsis are enabled and displayed at the end of truncated text. | |
dxetSmartPath | If text is the valid system path, it is trimmed so that the last item in the path remains visible. |
To implement your own text trimming logic, handle the OnGetText event.
The default value of the EllipsisType property is dxetNone.
See Also