Label.Underline

From Xojo Documentation

Property (As Boolean )
a<see below>.Underline = newBooleanValue
or
BooleanValue = a<see below>.Underline

Supported for all project types and targets.

If True, applies the underline style to the control’s caption and/or its text content if any.

Controls and classes implementing the Underline property

BevelButton
Checkbox
Graphics
GroupBox
Label
ListBox
PopupMenu
PushButton
RadioButton
ReportField
ReportLabel
StringShape
StyleRun
TextEdit

Sample Code

This example underlines the text of the control.

Me.Underline = True