Realbasic.Rect.Right
From Xojo Documentation
This item was deprecated in version 2019r2. Please use Rect.Right as a replacement. |
Property (As Integer )
aRealbasic.Rect.Right = newIntegerValue
or
IntegerValue = aRealbasic.Rect.Right
New in 2011r2
Supported for all project types and targets.
or
IntegerValue = aRealbasic.Rect.Right
New in 2011r2
Supported for all project types and targets.
The right edge of the rect on the X axis. Changing this value will resize the rect.
Sample Code
This example moves the rect to the right by 50 pixels, keeping its height and width intact:
myRect.Left = myRect.Right + 50