Skip to main content

TcxCustomTrackBarProperties.SelectionColor Property

Specifies the color of the selection bar.

Declaration

property SelectionColor: TColor read; write; default clHighlight;

Property Value

Type Default
TColor clHighlight

Remarks

Track bar editors enable you to display a selection bar within the track bar (or track for short). The portion of the track occupied by the selection bar is specified by:

Use the SelectionColor property to specify the color of the selection bar. The image below shows the appearance of the track bar when this property is set to clNavy and clMoneyGreen.

The track can be hidden by setting the ShowTrack property to False, which will also hide the selection bar. In range track bar editors, you can switch the visibility of the selection bar using the editor’s Properties.ShowSelection property.

The default value of the SelectionColor property is clHighlight.

See Also