Label.Bold
From Xojo Documentation
Property (As Boolean )
aLabel.Bold = newBooleanValue
or
BooleanValue = aLabel.Bold
Supported for all project types and targets.
or
BooleanValue = aLabel.Bold
Supported for all project types and targets.
If True, applies the bold style to the control’s caption and/or its text content if any.
Controls and classes implementing the Bold property
BevelButton | ||
Checkbox | ||
Graphics | ||
GroupBox | ||
Label | ||
ListBox | ||
PopupMenu | ||
PushButton | ||
RadioButton | ||
ReportField | ||
ReportLabel | ||
StringShape | ||
StyleRun | ||
TextEdit |
Example
The following code in the Open event of the control sets the text to bold.