FONT

4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next

version 6.0 (Modified)


FONT ({*; }object; font)

ParameterTypeDescription
*If specified, Object is an Object Name (String)
If omitted, Object is a Field or a Variable
objectForm ObjectObject Name (if * is specified), or
Field or Variable (if * is omitted)
fontString | NumberFont name or Font number

Description

FONT sets the form objects specified by object to be displayed using the font whose name or number you pass in font.

If you specify the optional * parameter, you indicate an object name (a string) in object. If you omit the optional * parameter, you indicate a field or a variable in object. In this case, you specify a field or variable reference (field or variable objects only) instead of a string. For more information about object names, see the section Object Properties.

Examples

1. The following example sets the font for a button named bOK:

   FONT (bOK; "Arial")

2. The following example sets the font for all the form objects whose name contains "info":

   FONT (*;"@info@"; "Times")

3. The following example assigns the special %password font, which can be used for entry and display of "password" type fields (characters are hidden).

   FONT ([Users]Password;"%password")

See Also

FONT SIZE, FONT STYLE.


4D - Documentation   Français   English   German   Spanish   4D v11 SQL, Command Theme List   4D v11 SQL, Command Alphabetical List   4D v11 SQL, Constant Theme List   Back   Previous   Next