Top Property

Applies to TestComplete 15.64, last modified on June 12, 2024

Specifies the vertical coordinate of the component’s top edge within its parent.


Read-Write Property Integer
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, TcxCurrencyEdit, TcxDateEdit, TcxGroupBox, TcxLabel, TcxListBox, TcxMemo, TcxMRUEdit, TcxProgressBar, TcxRadioGroup, TcxSpinEdit, TcxTextEdit, TcxTimeEdit, TImage, TObjectPicker, TPanel, TRectObjectPicker, TShape


Use the Top property to obtain or set the vertical coordinate of the component’s top edge relative to its parent component, or, if the given component is situated directly on the form, relative to the form.

Property Value

An integer value that specifies the vertical position of the component’s top edge, in pixels.

See Also

Height Property
Left Property
Width Property

Highlight search results