TcxButtonColors.DefaultText

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

Specifies the default text color of the focused button.

Declaration

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

Description

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

See Also

TcxButtonColors.Default
TcxButtonColors.DisabledText
TcxButtonColors.HotText
TcxButtonColors.NormalText
TcxButtonColors.PressedText

Highlight search results