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

Specifies the color of the track bar’s thumb.

#Declaration

Delphi
property ThumbColor: TColor read; write; default clBtnFace;

#Property Value

Type Default
TColor clBtnFace

#Remarks

The ThumbColor property sets the color used to paint the track bar’s thumb. This property is only in effect when the editor doesn’t use native paint styles or skins. You can control if the editor is painted with native paint styles or skins using the Style.LookAndFeel.NativeStyle and Style.LookAndFeel.SkinName properties.

The images below show examples of setting the ThumbColor property to different values.

Value Example
clBlue
clFuchsia

You can use the ThumbHighlightColor property to change the color used to paint the thumb when the mouse pointer hovers over it. The color of ticks and the track bar can be modified using the TickColor and TrackColor properties, respectively. The text color of tick labels can be specified via the font settings of the track bar’s Style~ option sets.

The default value of the ThumbColor property is clBtnFace.

See Also