FontItalic, FontUnderline Properties

Applies To

Combo Box Control, Command Button Control, Label Control, List Box Control, Report, Text Box Control, Toggle Button Control.

Description

You can use the FontItalic and FontUnderline properties to specify these font characteristics in reports and controls.

Setting

The FontItalic property uses the following settings.

Setting

Description

Visual Basic

Yes

Text is italic.

True (-1)

No

(Default) Text is normal.

False (0)


The FontUnderline property uses the following settings.

Setting

Description

Visual Basic

Yes

Text is underlined.

True

No

(Default) Text is normal.

False


For controls, you can set these properties using the control’s property sheet, a macro, or Visual Basic.

You can also set these properties using the Formatting toolbar.

You can set the defaults for these properties using the default control style.

Remarks

For reports, you can use these properties only in an event procedure or in a macro specified by the OnPrint event property setting.

See Also

FontBold Property; FontName, FontSize Properties; FontWeight Property.