DesktopUIControl.Top
From Xojo Documentation
Property (As Integer )
aDesktopUIControl.Top = newIntegerValue
or
IntegerValue = aDesktopUIControl.Top
New in 2021r3
Supported for all project types and targets.
or
IntegerValue = aDesktopUIControl.Top
New in 2021r3
Supported for all project types and targets.
The distance from the top of the control to the top of its containing window or container.
Sample Code
This example sets the top of the control to 140 points from the top of the window:
Me.Top = 140