Applies to TestComplete 14.40, last modified on April 01, 2020

Specifies the size constraints for the component.

Declaration

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

Applies To

The property applies to the following components:

TBevel, TcxButton, TcxButtonEdit, TcxCalcEdit, TcxCheckBox, TcxComboBox, TcxCurrencyEdit, TcxDateEdit, TcxGroupBox, TcxLabel, TcxListBox, TcxMemo, TcxMRUEdit, TcxProgressBar, TcxRadioGroup, TcxSpinEdit, TcxTextEdit, TcxTimeEdit, TImage, TPanel, TShape

Description

The Constraints property lets you obtain and specify minimum and maximum component size. If the size constraints are set, the component cannot be resized smaller than the minimum size and larger than the maximum size.

Property Value

A TSizeConstraints object.

See Also

TSizeConstraints Object
Height Property
Width Property

Highlight search results