Rect.Width

From Xojo Documentation

Property (As Double )
aRect.Width = newDoubleValue
or
DoubleValue = aRect.Width

New in 2019r2

Supported for all project types and targets.

The width of the rect.

Sample Code

This example increases the width by 50 pixels:

myRect.Width = myWidth.Width + 50