Italic property

From Xojo Documentation

(Redirected from BevelButton.Italic)
Property (As Boolean )
aRectControl.Italic = newBooleanValue
or
BooleanValue = aRectControl.Italic

Supported for all project types and targets.

If True, applies the italic 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 Italic property will not affect the font.

Controls and classes implementing the Italic property

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

Sample Code

The following sets the Italic property for the control.

Me.Italic = True