TcxButtonColors.Pressed

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

Specifies the background color of the pressed button.

Declaration

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

Description

The Pressed property lets you get or set the background color of a TcxButton component in the pressed state.

Property Value

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

See Also

TcxButtonColors.Default
TcxButtonColors.Disabled
TcxButtonColors.Hot
TcxButtonColors.Normal

Highlight search results