version 6.0 (Modified)
FONT SIZE ({*; }object; size)
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) | |||
size | Number | Font size in points |
Description
FONT SIZE sets the form objects specified by object to be displayed using the font size you pass in size.
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.
The size is any integer between 1 and 255. If the exact font size does not exist, characters are scaled.
The area for the object, as defined in the form, must be large enough to display the data in the new size. Otherwise, the text may be truncated or not displayed at all.
Examples
1. The following example sets the font size for a variable named vtInfo:
FONT SIZE (vtInfo; 14)
2. The following example sets the font size for all the form objects whose name starts with "hl":
FONT SIZE (*;"hl@"; 14)
See Also