Colors Property

Applies to TestComplete 15.65, last modified on July 17, 2024

Returns the TcxButtonColors object that holds a button’s background colors for different button states.

Declaration

componentObj.Colors
Read-Write Property A TcxButtonColors object
componentObj     One of the user forms components listed in the Applies To section  

Applies To

The property applies to the following components:

TcxButton

Description

Use the Colors property to obtain the TcxButtonColors object that lets you get or set the button’s background colors for different button states (default, disabled, pressed and so on).

Property Value

A TcxButtonColors object that holds the button’s background colors.

Remarks

You can also distinguish different button states using the Glyph property.

See Also

TcxButtonColors Object
Glyph Property

Highlight search results