TcxButtonColors.DisabledText

Applies to TestComplete 15.46, last modified on January 09, 2023

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

Declaration

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

Description

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

See Also

TcxButtonColors.Disabled
TcxButtonColors.DefaultText
TcxButtonColors.HotText
TcxButtonColors.NormalText
TcxButtonColors.PressedText

Highlight search results