4D v13.4

Font name

Home

 
4D v13.4
Font name

Font name 


 

Font name ( fontNumber ) -> Function result 
Parameter Type   Description
fontNumber  Longint in Font number for which to return the font name
Function result  String in 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

 
PROPERTIES 

Product: 4D
Theme: System Environment
Number: 462

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D v6

 
SEE ALSO 

FONT LIST
Font number