Specifies the name of the font to be used to display text in the object.

Valid Values

A character string, up to 64 characters in length


A default value can be specified in the initialization file or environment variable. Consult your Getting Started and Guide to Operations (Windows Version).

If the named font is not available on the system, the next closest font is substituted.

This attribute is Meaningful for graphic-class windows only.

If the font name is blank, then the object (window or form field) will use the font name of its parent object.  A window without a parent or a window whose parent is the BACKSCREEN will use the default font.  A form field without a parent will inherit the font name of the window it is displayed in.

ExampleFont inheritance when all objects have WdgFont set to "" (the null string):

See Also

DM, WdgClass, WdgFontSize