From Xojo Documentation

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

Property (As Int16 )
aRectControl.Width = newInt16Value
Int16Value = aRectControl.Width

Supported for all project types and targets.

The width (in points) of the control.

Sample Code

The following example resizes the control:

Me.Width = 200