TcxButtonColors.Hot

Applies to TestComplete 15.40, last modified on July 05, 2022

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

Declaration

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

Description

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

See Also

TcxButtonColors.Default
TcxButtonColors.Disabled
TcxButtonColors.Normal
TcxButtonColors.Pressed

Highlight search results