Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

FONT Resource Statement

Overview

The FONT resource statement defines the font with which the system will draw text in the dialog box.

Syntax/Parameters

Syntax

FONT pointsize, "typeface", [weight, italic, charset]

Parameters

pointsize

The size of the font, in points.

typeface

A string literal specifying the name of the typeface. This parameter must be enclosed in quotes (").

weight‡

The weight of the font in the range 0 through 1000. For example, 400 is normal and 700 is bold. If this value is 0, the default weight is used.

italic‡

Indicates an italic font if set to TRUE.

charset‡

The character set. See MSDN for additional information.

‡ These values are accepted but not processed.

Remarks

The dialog processor will attempt to match the font typeface name with a font installed on the system. If a match cannot be found, the closest matching font is selected.

Individual controls can override the dialog font.

Note that some resource editors do not accept the weight, italic and charset parameters.