PaintStyle Property

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

Specifies the control's style.

Declaration

componentObj.PaintStyle
Read-Write Property String
componentObj     One of the user forms components listed in the Applies To section  

Applies To

The property applies to the following components:

TcxButton

Description

The PaintStyle property lets you get or set the button paint style, which specifies what it looks like and how it behaves.

Property Value

One of the following string constants specifying the button style:

Value Description
“bpsDefault” The default button paint style. The button is a standard push button. It can display both the text specified by the Caption property and the image specified by the Glyph property.
“bpsCaption” The button displays the text specified by the Caption property.
“bpsGlyph” The button displays the image specified by the Glyph property.

See Also

Kind Property
Caption Property
Glyph Property

Highlight search results