4D v13.4FONT LIST |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
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. Starting with version 12.1 of 4D, the FONT LIST command populates the fonts array with the names of the font families under Mac OS. In previous 4D versions, the command returned the font names themselves. For example, "Arial", "Arial black" or "Arial narrow" (font families) are returned instead of "Arial bold", "Arial italic", "Arial narrow italic" (font names). This simplifies the programmed management of rich text areas, which use font families. The optional * parameter, when it is passed, keeps the previous functioning of this command under Mac OS (font names returned). Under Windows, the * parameter has no effect. The command still returns the font families as in previous 4D versions. Note: Under Mac OS, if you use the result of this command with the OBJECT SET STYLED TEXT 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 |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D v6 SEE ALSO
Font name TAGS police*** |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||