Top

[property icon] Top

Changes the position of a form/control

Integer property

Applies to: Generic


>Top

Top

For a control this property specifies the distance from the top of the form to the top of the control.

When applied to the form itself it determines the distance from the top of the Windows desktop to the top of the form. It can also be used in conjunction with the Placement property to change the physical position of the form.

The measurement is expressed in Dialog Box Units.

.btnControl1.Top = 47

See also the Left, Widthand Height properties and the Resize() event.

See also

Generic methods, properties and events.