4D v13.4Font name |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
Font name
|
Font name ( fontNumber ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
fontNumber | Longint |
![]() |
Font number for which to return the font name | |||||
Function result | String |
![]() |
Font name | |||||
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.
To display a form object with the default system font, you write:
OBJECT SET FONT(myObject;Font name(0)) ` 0 is the font number of the default system font
To display a form object with the default application font, you write:
OBJECT SET FONT(myObject;Font name(1)) ` 1 is the font number of the default application font
Product: 4D
Theme: System Environment
Number:
462
Created: 4D v6