Skip to main content

TcxCustomTrackBarProperties.OnGetTickLabel Event

Enables you customize the visibility and content of text labels within tick marks.

Declaration

property OnGetTickLabel: TcxTrackBarGetCustomTextEvent read; write;

Remarks

This event is fired only when the ShowTicks property is set to True.

Sender specifies the track bar editor.

APosition returns the position at which the text label is to be painted.

AText specifies the label’s text. By default, it is a string representation of APosition. You can pass an empty string as this parameter to prohibit the label from being painted. That way you can paint text labels only within a specific position range.

See Also