Skip to main content

TcxCustomTrackBarProperties.ThumbType Property

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

Declaration

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