TcxCustomTrackBarProperties.ThumbColor Property
Specifies the color of the track bar’s thumb.
Declaration
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.