Returns or sets the font name of the Font dialog.
Object.FontName [ = sFontName ]
The FontName property syntax has the following parts:
Name |
Type |
Description |
Object |
ACommonDialog |
ACommonDialog control |
sFontName |
BString |
The name of the font of the Font dialog. |
The following example will set the initial FontName to "Arial":
cdlg1.FontName="Arial"