4D v13.4

Font number

Home

 
4D v13.4
Font number

Font number 


 

Font number ( fontName ) -> Function result 
Parameter Type   Description
fontName  String in Font name for which to return the font number
Function result  Longint in Font number

The Font number command returns the number of the font whose name is fontName. If there is no font with this name, the command returns 0.

Example  

Some forms in your database use the font whose name is “Kind of Special.” Somewhere in your database, you could write:

 If(Font number("Kind of Special")=0)
    ALERT("This form would look better if the font Kind of Special was installed.")
 End if

 
PROPERTIES 

Product: 4D
Theme: System Environment
Number: 461

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D v6

 
SEE ALSO 

FONT LIST
Font name