RoundRectangle.OvalWidth

From Xojo Documentation

Property (As Integer )
aRoundRectangle.OvalWidth = newIntegerValue
or
IntegerValue = aRoundRectangle.OvalWidth

Supported for all project types and targets.

The width of the rounded corners in pixels.

Sample Code

This code in the Open event produces rounded corners:

Me.OvalHeight = 25
Me.OvalWidth = 25