Stretchable Property

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

Specifies whether the edit button changes its size when the component’s size is changed.

Declaration

componentPropObj.Stretchable
Read-Write Property Boolean
componentPropObj     One of the objects listed in the Applies To section  

Applies To

This property applies to the following object:

TcxEditButton

Description

Use the Stretchable property to specify whether the button’s width changes when the component’s width is changed. If this property is True, the button’s width is changed to keep the ratio between it and the new component’s width. If the property is False, the button’s width is not changed in this manner.

Note: The property only has effect when the component’s Properties.ViewStyle property is set to vsButtonsOnly.

Property Value

A boolean value that specifies whether the button is resized when the component’s, to which this button belongs, is also changed.

See Also

Width Property
ViewStyle Property

Highlight search results