FONT


The FONT statement changes a field’s font based on the contents of the predefined field FONT. All fields displayed on the screen can be affected by using the global FONT statement as shown below, or a specific field’s font can be changed by identifying the field.

          SET      --- FONT                       =      COURIER
    ••••• FONT     ••• •••••••••••••••••••••• ••• (AT APPEARANCE # •••)
    (1)            (2) (3)                    (4)                  (5)

(1) T/F execution conditions

(2) Application ID

(3) Field name or predefined field

(4) Occurrence (constant/index)

(5) Appearance (constant/index)

Using the Statement

The appearance number can be used if the same field appears more than once on an image. If the application ID, field name, occurrence number, and appearance number are not specified (left blank), the FONT statement affects all of the items painted on the associated image using either the default font or the font specified in the predefined field FONT.

The operation of a FONT statement affects only the next generation of an image. In other words, the item characteristics are reset each time an image is produced,

Restrictions

Note that, because the FONT statement operates on items rather than fields, this statement is meaningful only in event points that are associated with an image.

Statement Ignored

The system ignores any FONT statements specified in non-image-related event points.

Related Statements

BLANK, BLINK, BOLD, BRIGHT, COLOR, DIM, DISPLAY, INVERSE, NO BOLD, NO ULINE, NORMAL, PICTURE, SET, ULINE

Example

The FONT statement is used to cause the current font on a field to change on the image. In this example, the customer’s credit status displays in Courier font while all other fields are displayed in the default font designated by the System Administrator.

          SET      --- FONT                       =      COURIER
          FONT     TAR CUSTOMER CREDIT STATUS     (AT APPEARANCE #    )
          DISPLAY  TAR CUSTOMER CREDIT STATUS     (AT APPEARANCE #    )