Skip to main content

TcxButtonColors.Hot Property

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

Declaration

property Hot: TColor index Ord(cxbcHot) read; write;

Property Value

Type
TColor

Remarks

If this property value is not assigned, the button’s background is painted based on the Normal or the button’s LookAndFeel and UseSystemPaint property settings.

The default property value (clDefault) specifies that the background color of a button is provided by the button’s LookAndFeel and UseSystemPaint property settings. If this property value is other than default, the cxbcHot flag is activated in AssignedColors. Deactivating this flag sets the property to its default value.

You can also specify background colors for the following cxButton states: Default, Disabled, Normal and Pressed.

See Also