Returns or sets the Underline style of the Font dialog.
Object.Underline [ = bUnderline ]
The Underline property syntax has the following parts:
Name |
Type |
Description |
Object |
ACommonDialog |
ACommonDialog control |
bUnderline |
Bool |
A boolean expression that specifies whether the Font is Underline or not. |
bUnderline can be one of the following:
Value |
Description |
True |
The font style is Underline. |
False * |
The font style is not Underline. |
To use this property, the acdlgFontOptionsEffects flag must be set on the FontOptions property.
The following example will set the font style to be Underline:
cdlg1.Underline=True