FontItalic Property
You can use the FontItalic property to specify whether text is italic in the following situations:
Read/write Boolean for the following objects: ComboBox, CommandButton, FormatCondition, Label, ListBox, TabControl, TextBox, and ToggleButton. Read/write Integer for the Report object.
expression.FontItalic
expression Required. An expression that returns one of the above objects.
Remarks;
The FontItalic property uses the following settings.
Setting | Visual Basic | Description |
---|---|---|
Yes | True (–1) | The text is italic. |
No | False (0) | (Default) The text isn't italic. |
For controls on forms and reports, you can set this property by using the control's property sheet, a macro, or Visual Basic.
For reports, you can use this property only in an event procedure or in a macro specified by the OnPrint event property setting.
You can also set this property by clicking Italic on the Formatting (Form/Report) toolbar.
You can set the default for this property by using the default control style or the DefaultControl method in Visual Basic.