version 6.0
Font number (fontName) Longint
Parameter | Type | Description | |
fontName | String | Font name for which to return the font number | |
Function result | Longint | Font number |
Description
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
See Also