TcxButtonColors.HotText

Applies to TestComplete 14.93, last modified on October 12, 2021

Specifies the text color of a button when the mouse pointer is over it.

Declaration

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

Description

The HotText property lets you get or set the text color of a TcxButton component in the hot-tracked state, that is, when the mouse pointer is over it.

Property Value

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

See Also

TcxButtonColors.Hot
TcxButtonColors.DefaultText
TcxButtonColors.DisabledText
TcxButtonColors.NormalText
TcxButtonColors.PressedText

Highlight search results