The Group Header (GRPHDR) tag defines a group heading in the panel
)BODY section.
The FORMAT attribute is used to control the type of text formatting.
You can choose formatting similar to the LINES tag or the P tag. For
example, if FORMAT=NONE, the text formats as if you used a LINES tag.
However, if FORMAT=START, CENTER, or END, the text flows to multiple
lines and is formatted at the right, center or left part of the space
reserved for the group heading.
Here is a short description of the other available attributes:
- WIDTH
- This attribute specifies the number of columns reserved for the
group heading. The default value is the remaining panel width.
- FMTWIDTH
- This attribute specifies the number of columns (of the WIDTH value)
to use for formatting the group heading. The default is the WIDTH
value. By specifying a FMTWIDTH that is less than the WIDTH value,
the group heading text can be formatted on multiple lines.
- INDENT
- This attribute specifies the number of bytes that the group heading
is to be indented.
- HEADLINE
- This attribute specifies whether dashes are added to span the
width of the group heading not occupied by text.
- DIV
- This attribute specifies the type of divider line to be placed
before and after the group heading text.
- DIVLOC
- This attribute specifies whether the divider is to be added before
the group heading, after the group heading, or both before and after
the group heading.
- COMPACT
- This attribute causes the group heading to format without a blank
line before the group heading.
- STRIP
- This attribute causes leading and trailing blanks to be removed
from the group heading text.