Defines a re-sizable table designed to display a list of records.
TABLE [identifier] [ ( attribute [,...] ) ]
{
title [...]
[col-name [|...] ]
[...]
[aggr-name [|...] ]
}
END
AGGREGATETEXT, COMMENT, DOUBLECLICK, HIDDEN, FONTPITCH, STYLE, TAG, UNHIDABLECOLUMNS, UNMOVABLECOLUMNS, UNSIZABLECOLUMNS, UNSORTABLECOLUMNS, WANTFIXEDPAGESIZE, WIDTH, HEIGHT.
The TABLE container defines a list view element in a grid-based layout.
To create a table view in a grid layout, define the following elements in the form file:
For more details about this item type, see TABLE item type.
SCHEMA videolab
LAYOUT ( TEXT="Customer list" )
TABLE ( TAG="normal" )
{
[c1 |c2 |c3 |c4 ]
[c1 |c2 |c3 |c4 ]
[c1 |c2 |c3 |c4 ]
[c1 |c2 |c3 |c4 ]
}
END
END
TABLES
customer
END
ATTRIBUTES
EDIT c1 = customer.cust_num, TITLE="Num";
EDIT c2 = customer.cust_name, TITLE="Customer name";
EDIT c3 = customer.cust_cdate, TITLE="Date";
CHECKBOX c4 = customer.cust_status, TITLE="Status";
END
INSTRUCTIONS
SCREEN RECORD custlist( cust_num, cust_name, cust_cdate, cust_status )
END