Home > Language Reference > Classes > UIComponent

Top Property

Distance between the top edge of the form and the top edge of the element.

Syntax

Public Property Get Top() As Integer

Remarks

The Top property returns the vertical coordinate of the top left corner of an element expressed in standard coordinates without taking the border into account. This property is available at design time and read-only at runtime. To dynamically move an element, use the Move method.

The horizontal coordinate of the same element can be obtained using the Left property whilst the width and height of the element can be obtained using the Width and Height properties.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A