DesktopRectangle.CornerSize

From Xojo Documentation

Property (As Double )
aDesktopRectangle.CornerSize = newDoubleValue
or
DoubleValue = aDesktopRectangle.CornerSize

New in 2021r3

Supported for all project types and targets.

The amount of arc in the corner.

Notes

Change this to create a round rectangle.