Bold property
From Xojo Documentation
(Redirected from StyleRun.Bold)Property (As Boolean )
aRectControl.Bold = newBooleanValue
or
BooleanValue = aRectControl.Bold
Supported for all project types and targets.
or
BooleanValue = aRectControl.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.
Notes
Mac apps can only display font styles that are available. You cannot force a font to display in bold or italic if it does not have bold or italic variations available. In this situation, the Bold property will not affect the font.
Controls and classes implementing the Bold property
BevelButton | ||
Checkbox | ||
Graphics | ||
GroupBox | ||
Label | ||
ListBox | ||
PopupMenu | ||
PushButton | ||
RadioButton | ||
ReportField | ||
ReportLabel | ||
StringShape | ||
StyleRun | ||
TextEdit |
Sample Code
This example sets the text to Bold.