TcxButtonColors.Disabled

Applies to TestComplete 15.47, last modified on January 20, 2023

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

Declaration

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

Description

The Disabled property lets you get or set the background color of a TcxButton component in the disabled state, that is, when its Enabled property is set to False.

Property Value

An integer value that specifies the button’s background color in the disabled state. The default value is the clDefault constant and means that the default background color for the disabled 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 Disabled property to a value other than the default one, the AssignedColors.Disabled flag is automatically set to True. To restore the default value of the Disabled property, set AssignedColors.Disabled to False.

See Also

TcxButtonColors.Default
TcxButtonColors.Hot
TcxButtonColors.Normal
TcxButtonColors.Pressed

Highlight search results