From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Boolean )
aWebLabel.Italic = newBooleanValue
BooleanValue = aWebLabel.Italic

New in 2020r1

Supported for all project types and targets.

If True, applies the italic style to the caption of the label.

Sample Code

The following code in the Opening event of the control sets the caption to italic.

Me.Italic = True