Underline Property (AFont)

Returns or sets a value that determines whether or not the font is underline.

Syntax

Object.Underline [ = bUnderline ]

The Underline property syntax has the following parts:

 

Name

Type

Description

Object

AFont

AFont object

bUnderline

Bool

A boolean expression that specifies whether or not the font is underlined.

Where

bUnderline can be one of the following:

 

Value

Description

True

The font is underlined.

False *

The font is not underlined.

Example

The following statement changes the font of the caption property of a button object to be Underline:

btn1.Caption.Underline=True

The following statement changes the font of a declared variable m_font1 of type font to be Underline:

m_font1.Underline=True

Applies to

AFont

See Also

Bold, Italic, Size, Strikethrough, Weight