version 6.0 (Modified)
FONT ({*; }object; font)
Parameter | Type | Description | |
* | If specified, Object is an Object Name (String) | ||
If omitted, Object is a Field or a Variable | |||
object | Form Object | Object Name (if * is specified), or | |
Field or Variable (if * is omitted) | |||
font | String | Number | Font 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