version 6.0
Font name (fontNumber) String
Parameter | Type | Description | |
fontNumber | Longint | Font number for which to return the font name | |
Function result | String | Font name |
Description
The Font name command returns the name of the font whose number is fontNumber. If there is no available font with that number, the command returns an empty string.
Examples
1. To display a form object with the default system font, you write:
FONT(myObject;Font name(0)) ` 0 is the font number of the default system font
2. To display a form object with the default application font, you write:
FONT(myObject;Font name(1)) ` 1 is the font number of the default application font
See Also