*ColumnLabel()

Sets the column(s) label in a form or a tableform.

Syntax

*ColumnLabel(col_1,[col_2,],"heading")

Arguments

col_1
The column in which the label should appear.
Data type: integer
col_2
An optional argument that specifies the column number to which the field label should span, beginning with col_1 .
Data type: integer
heading
The text for the column label.
Data type: string

Example

*DefineForm(frmdef_vehpar, ds)
 
 *SetRowsCols(6, 5)
 *RowHeight(1, 2)
 *ColumnWidth(1, 20)
 *ColumnWidth(2, 7)
 *ColumnWidth(3, 4)
 *ColumnWidth(4, 20)
 *ColumnWidth(5, 7)
 
*ColumnLabel(1, "Properties")
 *ColumnLabel(2, "Values")
 *ColumnLabel(4, "Properties")
 *ColumnLabel(5, "Values")
 *MergeCells(1, 3, 6, 3)
 *SetCell(2, 1, ds.wb.label, , Left, No_Edit)
 *SetCell(3, 1, ds.cf.label, , Left, No_Edit)
 *SetCell(4, 1, ds.br.label, , Left, No_Edit)
 *SetCell(5, 1, ds.tr.label, , Left, No_Edit)
 *SetCell(6, 1, ds.ar.label, , Left, No_Edit)
*EndDefine()

Context

*DefineForm()

*DefineTableForm()

Comments

Columns are labeled 1 to n, left to right. In the above example, "Properties" would appear in the top cell of the first column.