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
- identifier defines the name of the element.
- attribute-list defines the aspect and behavior of the form item.
- 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:
- The layout of the list, with a
TABLE
stack item. - The columns definitions as stack items inside the
TABLE
item.
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