TcxButtonColors.Normal

Applies to TestComplete 15.65, last modified on July 17, 2024

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

Declaration

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

Description

The Normal property lets you get or set the background 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 background color in the normal state. The default value is the clDefault constant and means that the default background 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 Normal property to a value other than the default one, the AssignedColors.Normal flag is automatically set to True. To restore the default value of the Normal property, set AssignedColors.Normal to False.

See Also

TcxButtonColors.Default
TcxButtonColors.Disabled
TcxButtonColors.Hot
TcxButtonColors.Pressed

Highlight search results