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.ThumbType Property

Specifies whether the track bar’s thumb is visible and whether it must be custom painted.

#Declaration

Delphi
property ThumbType: TcxTrackBarThumbType read; write; default cxttRegular;

#Property Value

Type Default
TcxTrackBarThumbType cxttRegular

#Remarks

Use the ThumbType property to specify whether the track bar’s thumb must be displayed and in what manner. The following values are available for this property.

Value Meaning
cxttNone The thumb is not displayed. This can be used if you want to display information using the selection bar only. Please refer to the SelectionColor, SelectionStart and SelectionEnd properties for information on how to display and customize the selection bar.
cxttRegular The control’s Style.LookAndFeel property settings specify the appearance of the thumb. The size of the track bar’s thumb is specified by the ThumbHeight and ThumbWidth properties unless the thumb’s size is then calculated automatically (the AutoSize property is set to True).
cxttCustom The track bar’s thumb must be painted manually by handling the OnDrawThumb event. Handle the OnGetThumbRect event to specify the thumb’s bounding rectangle.

The default value of the ThumbType property is cxttRegular.

See Also