TABLE stack item

Defines a re-sizable table designed to display a list of records in a stack-based layout.

Syntax

TABLE identifier [ ( attribute-list ) ]
  stack-item
  [...] 
END
  1. identifier defines the name of the element.
  2. attribute-list defines the aspect and behavior of the form item.
  3. stack-item is child element in the stack container defining a column in the table.

Form attributes

AGGREGATETEXT, COMMENT, DOUBLECLICK, HIDDEN, FONTPITCH, STYLE, TAG, UNHIDABLECOLUMNS, UNMOVABLECOLUMNS, UNSIZABLECOLUMNS, UNSORTABLECOLUMNS, WANTFIXEDPAGESIZE, WIDTH, HEIGHT.

Style attributes

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

Class-specific: allowWebSelection, forceDefaultSettings, headerAlignment, headerHidden, highlightColor, highlightCurrentCell, highlightCurrentRow, highlightTextColor, resizeFillsEmptySpace, reduceFilter, rightFrozenColumns, rowActionTrigger, showGrid, summaryLineAlwaysAtBottom, tableType.

Can hold

BUTTONEDIT, CHECKBOX, COMBOBOX, DATEEDIT, DATETIMEEDIT, EDIT, IMAGE, LABEL, PROGRESSBAR, PHANTOM, SLIDER, SPINEDIT, TIMEEDIT, RADIOGROUP.

Usage

The TABLE stack layout element defines a list view element in a stack-based layout.

To create a table view in a stacked layout, define the following elements in the form file:

  1. The layout of the list, with a TABLE stack item.
  2. The columns definitions as stack items inside the TABLE item.
Note: The TABLE item must have an identifier, that will be used as screen-array in list dialogs.

For more details about table view programming, see Table views

Example

TABLE custlist (STYLE="regular")
   EDIT ...
   BUTTONEDIT ...
   ...
END