Font number

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.0


Font number (fontName) Longint

ParameterTypeDescription
fontNameStringFont name for which to return the font number
Function resultLongintFont 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

FONT LIST, Font name.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next