FontItalic Property [Access 2003 VBA Language Reference]
You can use the FontItalic property to specify whether text is italic in the following situations:
When displaying or printing controls on forms and reports.
When using the Print method on a report.
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 OnPrintevent 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 property in Visual Basic.
Applies to | ComboBox Object | CommandButton Object | FormatCondition Object | Label Object | ListBox Object | Report Object | TabControl Collection | TextBox Object | ToggleButton Object
See Also | FontBold Property | FontName Property | FontSize Property | FontUnderline Property | FontWeight Property