Window.Width

From Xojo Documentation

Property (As Integer )
aWindow.Width = newIntegerValue
or
IntegerValue = aWindow.Width

Supported for all project types and targets.

The width of the content region of the window.

Notes

The left and right window frames are taken into account.