Top Property

Applies to TestComplete 15.69, last modified on November 13, 2024

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

Declaration

componentObj.Top
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

Description

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