Skip to main content

TcxCustomProgressBarProperties.SolidTextColor Property

Specifies whether the text label is painted using a single color or whether the color depends on its background.

Declaration

property SolidTextColor: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

If the SolidTextColor property is set to True, the text label is painted using the color specified by the Style.Font.Color property of the control. For some combinations (as illustrated on the leftmost image below), this can result in part of the text being invisible. When the property is set to False, the label is painted in a different color to the background. The table below shows examples. The font color is set to clNavy.

SolidTextColor is True SolidTextColor is False

Note

The text label is displayed only when the ShowText property is set to True.

The default value of the SolidTextColor property is False.

See Also