GRID container

Defines a layout area based on a grid of cells.

Syntax

GRID [identifier] [ ( attribute [,...] ) ]
{
  { text
  | item-tag
  | hbox-tag
  | layout-tag
  | horizontal-line }
  [...]
}
END
  1. identifier defines the name of the element, it is optional but recommended.
  2. attribute is an attribute for the element.
  3. text is literal text that will appear in the form as a static label.
  4. item-tag defines the position and length of a form item.
  5. hbox-tag defines the position and length of several form items inside an horizontal box.
  6. layout-tag defines the position and length of a layout tag.
  7. horizontal-line is a set of (-) hyphen characters defining a horizontal line.

Form attributes

COMMENT, FONTPITCH, HIDDEN, STYLE, TAG.

Style attributes

Common: backgroundColor, border, fontFamily, fontSize, fontStyle, fontWeight, textColor, textDecoration.

Class-specific: none.

Usage

The GRID container declares a formatted text block, defining the dimensions and the positions of children form items.

Tip:

Avoid Tab characters (ASCII 9) inside the curly-brace delimited area. If used, Tab characters will be replaced by 8 blanks by fglform.

For more details about this item type, see GRID item type.

Example

GRID
{
<GROUP g1                                   >
 Id:   [f1] Name: [f2                      ]
 Addr: [f3                                 ]
<                                           >
}
END