TextArea.SelectionUnderline

From Xojo Documentation

Property (As Boolean )
aTextArea.SelectionUnderline = newBooleanValue
or
BooleanValue = aTextArea.SelectionUnderline

New in 2019r2

Supported for all project types and targets.

Used to get and set the underline style of the selected text.