From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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

Supported for all project types and targets.

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

Sample Code

The following example moves the control 100 points from the left side of the window:

Me.Left = 150