FONT Statement

Summary: Syntax

FONT pointsize, typeface

This optional statement defines the font with which Windows will draw text in the dialog box. The font must have been previously loaded, either from WIN.INI or by calling LoadFont.

The pointsize field is an integer that specifies the size in points of the font.

The typeface field specifies an ASCII character string enclosed in double quotation marks that specifies the name of the typeface. This name must be identical to the name defined in the [fonts] section of WIN.INI.

The following example demonstrates the correct usage of the FONT statement:

FONT 12, "Helv"