Label.FontUnderline Property (Access)

You can use the FontUnderline property to specify whether text is underlined in the following situations:

  • When displaying or printing controls on forms and reports.

  • When using the Print method on a report.

Read/write Boolean.

Syntax

expression .FontUnderline

expression A variable that represents a Label object.

Remarks

The FontUnderline property uses the following settings.

Setting

Description

True

The text is underlined.

False

(Default) The text isn't underlined.

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 set the default for this property by using the default control style or the DefaultControl property in Visual Basic.

See Also

Concepts

Label Object Members

Label Object