TcxButtonColors.Default

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

Specifies the background color of the focused button.

Declaration

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

Description

The Default property lets you get or set the background color of a TcxButton component in the focused or normal state if the given button is the form’s default button (that is the button’s Default property is set to True) and no other button is focused.

Property Value

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

See Also

TcxButtonColors.Disabled
TcxButtonColors.Hot
TcxButtonColors.Normal
TcxButtonColors.Pressed

Highlight search results