TcxButtonColors.NormalText

Applies to TestComplete 15.69, last modified on November 13, 2024

Specifies the text color of a button in the normal state.

Declaration

TcxButtonColorsObj.NormalText
Read-Write Property Integer
TcxButtonColorsObj     A TcxButtonColors object  

Description

The NormalText property lets you get or set the text color of a TcxButton component in the normal state if the given button is not the default button, that is, the button’s Default property is set to False.

Property Value

An integer value that specifies the button’s text color in the normal state. The default value is the clDefault constant, which means that the default text color for the normal state is used.

For a list of predefined color constants and instructions on how to calculate custom color values, see the Working With Colors topic.

Remarks

Once you set the NormalText property to a value other than the default one, the AssignedColors.NormalText flag is automatically set to True. To restore the default value of the NormalText property, set AssignedColors.NormalText to False.

See Also

TcxButtonColors.Normal
TcxButtonColors.DefaultText
TcxButtonColors.DisabledText
TcxButtonColors.HotText
TcxButtonColors.PressedText

Highlight search results