FontItalic Property

Microsoft Access Visual Basic

  • 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.

    &nbspRemarks

    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.