RectControl.Top

From Xojo Documentation

Property (As Int16 )
aRectControl.Top = newInt16Value
or
Int16Value = aRectControl.Top

Supported for all project types and targets.

The top of the control in local coordinates (relative to the window).

Example

This example sets the top of the control to 140 pixels from the top of the window:

Me.Top = 140