Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomTrackBarProperties.OnGetTickLabel Event

In This Article

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

#Declaration

Delphi
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