DesktopTextControl.HasBorder

From Xojo Documentation

Property (As Boolean )
aDesktopTextControl.HasBorder = newBooleanValue
or
BooleanValue = aDesktopTextControl.HasBorder

New in 2021r3

Supported for all project types and targets.

Indicates whether or not the border is visible.