fontName
The typeface of the component’s text.
Property of
Many form components
Description
Set the fontName property to the name of the typeface you want to apply to the text in the component. For Grid objects, the fontName property can be overridden by setting the fontName property of a GridColumn's editorControl to a non-null value. The fontName property defaults to that set by your operating system or the PLUS.ini file.
Note:
In order to use TrueType fonts in European countries which do not use the Western Europe code page (1252), you must specify the language (also referred to as the "script").
Since dBASE Plus does not list available language scripts for TrueType fonts, you must specify it in the fontName property--either in code or through the Inspector--using the exact TrueType font name. To do it through the Inspector, for example, choose a text component, choose the fontName property in the Inspector, and, instead of choosing from available fonts on the list, type in the name of the language script. We recommend all languages be entered in English, e.g.:
Times New Roman Greek
Verdana Turkish
Arial Baltic
MS Gothic Cyrillic
Courier New Central Europe
The following PLUS.ini file settings ensure that the initial font created for a new control uses the language you want:
[DefaultFonts]
Application=<strFontName>,<intPointSize>
Controls=<strFontName>,<intPointSize>
The Application setting specifies the font used for the Navigator and Inspector, while the Controls setting specifies the default font used for forms and controls. You can also create your own custom controls to specify the font and language you want to use.