TextShape.Underline

From Xojo Documentation

Property (As Boolean )
aTextShape.Underline = newBooleanValue
or
BooleanValue = aTextShape.Underline

New in 2019r2

Supported for all project types and targets.

If True, applies the underline style to the text.

Sample Code

This code underlines the control’s text.

Me.Underline = True