TcxButtonColors.AssignedColors

Applies to TestComplete 15.68, last modified on October 16, 2024

Holds the property flags that indicate whether the corresponding properties of a TcxButtonColors object have been changed.

Declaration

TcxButtonColorsObj.AssignedColors
Read-Only Property String
TcxButtonColorsObj     A TcxButtonColors object  

Description

The AssignedColors property is available only at design-time. It contains child properties with the same names as other properties from the TcxButtonColors object. They indicate whether the corresponding properties of the TcxButtonColors object have been changed. Once you set the property of a TcxButtonColors object (Default, Disabled and others) to a value that differs from the default one, the corresponding child property of the AssignedColors property is automatically set to True and the corresponding flag is added to the AssignedColors value.

You can use child properties of AssignedColors to undo changes made to the properties of the TcxButtonColors object. To restore the default property value, set the corresponding child property of the AssignedColors property to False. For example, to restore the default value of the TcxButtonColors.Normal property, set the AssignedColors.Normal property to False.

Property Value

A string containing a combination of the following values separated by spaces or commas and optionally enclosed in square brackets:

Value Description
cxbsDefault The Default property has been changed.
cxbsDefaultText The DefaultText property has been changed.
cxbsDisabled The Disabled property has been changed.
cxbsDisabledText The DisabledText property has been changed.
cxbsHot The Hot property has been changed.
cxbsHotText The HotText property has been changed.
cxbsNormal The Normal property has been changed.
cxbsNormalText The NormalText property has been changed.
cxbsPressed The Pressed property has been changed.
cxbsPressedText The PressedText property has been changed.
Highlight search results