4D v13.4Font number |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
Font number
|
Font number ( fontName ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
fontName | String |
![]() |
Font name for which to return the font number | |||||
Function result | Longint |
![]() |
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.
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
Product: 4D
Theme: System Environment
Number:
461
Created: 4D v6