Field Layout Codes

Field layout codes specify how data is formatted for display. When multiple codes are specified, they must be separated by commas.

Field Layout Definitions and Shorthand Codes
Field Layout Definition Shorthand Code Meaning Description
Format DIS(DisplayFormat) Display format For more information, see Display Formats.
Alignment LFT Left alignment Default for all fields except static fields, for which the default is center-aligned.
CTR Center alignment 1 Default for static fields. When selected, all data is aligned in the center. When used in an edit box, the text is not scrolled to show the text in the center of the field when the text is longer than the field width.
RGT Right alignment 1  
DEC Decimal alignment Data is aligned around the decimal point or comma, as defined by the display format of the field.
Subfield Separator SEP(c) Use subfield separator c Character to be used as the subfield separator in the display; the default is GOLD ; (semicolon). The separator does not need to be the same as the separator you defined in the field layout definition. For variable-length subfields, the separator is physically stored in the database. For fixed-length subfields, it is not. This field is used only when defining subfields.
Width WID(n) Line width of n characters Specify the width (horizontal size) of the frame area. The default width is one character cell.
Border BOR Border line Specify whether a rectangular border is displayed around the field or entity's outer edge in a form or report. This can change the frame positioning.

By default, no border is displayed.

Direction2 RTL Right to left Text reads from right to left. Use for languages such as Hebrew and Arabic
LTR Left to right Text reads from left to right.
Cursor Video NAV No active field video Specify whether the field is highlighted when it is active.

Enabled only when the $ACTIVE_FIELD setting is present in the assignment file.

Note:  Desktop applications only. Not valid in character mode.

Inverse3 INV Inverse video Display Unifields in inverse highlighting
NIN No inverse video  
Bright3 BRI Bright Display Unifields as bold fields
NBR Not bright  
Blink3 BLI Blink Display Unifields as blinking fields.
NBL No blinking  
Underline3 UND Underline Display Unifields as underlined fields.
NUN No underline  
  1. Not applicable in Edit Box fields that are too small to display the data and that have the Automatic Word Wrap or Transparency properties selected
  2. Overwrites the assignment setting $RTL_FIELDS, if it is present.
  3. Use only in character mode environment.