4D v14.3FONT LIST |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
FONT LIST
FONT LIST
The FONT LIST command populates the string or text array fonts with the names of the fonts available on your system. The listType parameter lets you designate the type of font list you want to get. To do so, you can pass one of the following constants in the listType parameter, available in the "Font Type List" theme:
Under OS X, when you pass the optional * parameter, the command populates the fonts array with the names of the fonts themselves, and not with the names of the font families. The default operation simplifies programmed management of rich text areas, which use font families. If you pass the * parameter, font names, for example, "Arial bold", "Arial italic", "Arial narrow italic," are returned instead of families, such as "Arial", "Arial black" or "Arial narrow". Note: Under OS X, if you use the result of this command with the ST SET ATTRIBUTES, you must not pass the * parameter. In a form, you want a drop-down list that displays a list of the fonts available on your system. The method of the drop-down list is as follows: Case of You want to get a list of recent fonts: FONT LIST($arrFonts;Recent fonts) |
PROPERTIES
Product: 4D
HISTORY
SEE ALSO
Font name TAGS police ARTICLE USAGE
4D Language Reference ( 4D v14 R3) Inherited from : FONT LIST ( 4D v12.4) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||