Rect.Left
From Xojo Documentation
Property (As Double )
aRect.Left = newDoubleValue
or
DoubleValue = aRect.Left
New in 2019r2
Supported for all project types and targets.
or
DoubleValue = aRect.Left
New in 2019r2
Supported for all project types and targets.
The left edge of the Rect on the X axis.
Sample Code
This example moves the rect to the left by 50 pixels, keeping its height and width intact.
myRect.Left = myRect.Left + 50