SCROLLGRID container

Defines a scrollable grid view widget, in a grid-based layout.

Syntax

SCROLLGRID [identifier] [ ( attribute [,...] ) ]
{
  row-template
  [...]
}  
END
where row-template is a text block containing:
  { text
  | item-tag }
[...]
  1. text is literal text that will appear in the form as a static label.
  2. item-tag defines the position and length of a form item.

Form attributes

COMMENT, DOUBLECLICK, FONTPITCH, STYLE, TAG, HIDDEN, WANTFIXEDPAGESIZE.

Style attributes

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

Class-specific: customWidget, highlightColor, highlightCurrentCell, highlightCurrentRow, highlightTextColor, rowActionTrigger, itemsAlignment.

Usage

The SCROLLGRID container declares a formatted text block defining the dimensions and the position of the logical elements of a screen for a multi-record presentation.

Note: 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 SCROLLGRID item type.

Example 1: Resizable scrollgrid (using WANTFIXEDPAGESIZE=NO):

SCROLLGRID (WANTFIXEDPAGESIZE=NO)
{
 Id: [f001   ]  Name: [f002                         ]
 Address: [f003                                     ]
}
END

Example 2: Scrollgrid with fixed page size, using four rows:

SCROLLGRID
{
 Id: [f001   ]  Name: [f002                         ]
 Address: [f003                                     ]

 Id: [f001   ]  Name: [f002                         ]
 Address: [f003                                     ]

 Id: [f001   ]  Name: [f002                         ]
 Address: [f003                                     ]

 Id: [f001   ]  Name: [f002                         ]
 Address: [f003                                     ]

}
END