Underline property

From Xojo Documentation

(Redirected from BevelButton.Underline)
Property (As Boolean )
aRectControl.Underline = newBooleanValue
or
BooleanValue = aRectControl.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.

Notes

Controls and classes implementing the Underline property

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

Sample Code

This code underlines the control’s text or caption property.

Me.Underline = True

This code underlines the Caption property of a GroupBox

Me.Underline = True
Me.Caption = "underlined"