From Xojo Documentation
| This item was deprecated in version 2019r2.
Please use Rect.Right as a replacement.
Property (As Integer )
The right edge of the rect on the X axis. Changing this value will resize the rect.
This example moves the rect to the right by 50 pixels, keeping its height and width intact:
myRect.Left = myRect.Right + 50