From Xojo Documentation

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

Property (As Double )
aRect.Left = newDoubleValue
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