FontObj Property

Applies To

Description

The FontObj property associates a font with an object. It specifies either the name of or a ref to a Font object

If unspecified, the default value for FontObj is an empty character vector. For most objects, this setting implies that the font used in the object is inherited from its parent object. However, CoolBar, Menu, MenuBar, StatusBar, TipField, ToolBar, and ToolControl objects do not inherit their font.

Note that the default value of FontObj for Root is also an empty character vector and that this implies the Windows default GUI font, which is a Windows user preference setting.

Note however that it is not currently possible to specify the font for Menu and MenuItem objects which are the direct descendants of a MenuBar. Nor is it possible to specify the font used for the Caption in a Form.