TcxButtonColors.PressedText

Applies to TestComplete 15.70, last modified on December 17, 2024

Specifies the text color of the pressed button.

Declaration

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

Description

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

Property Value

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

See Also

TcxButtonColors.Pressed
TcxButtonColors.DefaultText
TcxButtonColors.DisabledText
TcxButtonColors.HotText
TcxButtonColors.NormalText

Highlight search results