Underline property

From Xojo Documentation

Revision as of 20:21, 22 January 2019 by PLefebvre (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
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"