From Xojo Documentation

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

Supported for all project types and targets.

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

Sample Code

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

Me.Top = 140