A static item defines a simple form item as a final grid element (i.e. that
does not change).
A static item is a form element that is defined directly in a grid of the form
LAYOUT section, such as a text (typically, a field label).
Static items are identified by the fglform compiler and converted to a AUI
tree node element in the resulting .42f file.
Simple texts
It is possible to define simple texts and field labels in the form
layout:
LAYOUT
GRID
{
A simple text
}
END
END
Note: To simplify internationalization, consider using named
static labels instead of
hard-coded text in the form layout.
Horizontal lines
You define a horizontal line with a sequence of hyphen-minus (
-)
characters in a
grid:
LAYOUT
GRID
{
This is a horizontal line: ------------
}
END
END
Note: Horizontal lines are mainly provided for TUI mode applications. While horizontal lines
will be represented by some GUI front-ends, it is not a typical practice in common graphical
applications.