Click to expand/collapse this hidden textTab(Xpos,Ypos:number;Htabs:list;Vspace:number):tableHandle;

Function

TAB defines a table.

XPOS,YPOS specify the position of the top-left corner of the table.
HTABS is a comma-separated list of default column widths (in pixels at 600dpi). There must be at least one value in the list. If there are fewer widths specified than the data requires, extra columns are added at the right of the table: the last value in the list is used to supply their default width. If there are more widths specified than the data requires, the extra values are ignored: no spurious columns are generated.
VSPACE specifies the default row height.

A number of related functions may be used to display table cells containing text with simple formatting: see TAB_ALIGN, TAB_BORDERS, TAB_CELL, TAB_PAD, TAB_VALIGN procedures and TAB_FORMAT, TAB_HOME, TAB_NEXTROW functions.

Table example: Basic, Table example: Variable data.

Click to expand/collapse this hidden textTab_Cell(TH:tableHandle;S:string);

Procedure

TAB_CELL displays text S in a cell of the table specified by TH.

Table example: Basic, Table example: Variable data.

See TAB function, above.

Click to expand/collapse this hidden textTab_Align(TH:tableHandle;AlOpt:string);

Procedure

TAB_ALIGN specifies the horizontal text alignment.

ALOPT may be:

L for Left,
C for Center,
R for Right or
N for None. This option suppresses any composition in the FORMAT and TAB_FORMAT functions.

Table example: Basic, Table example: Variable data.

See also TAB_VALIGN procedure, below.

Click to expand/collapse this hidden textTab_VAlign(TH:tableHandle;AlOpt:string);

Procedure

TABVALIGN specifies the vertical text position.

ALOPT may be:

T for Top,
M for Middle or
B for Bottom

See also TABALIGN procedure, above.

Click to expand/collapse this hidden textTab_Pad(TH:tableHandle;Padding:number);

Procedure

TAB_PAD specifies the offset from the edge of cell to the text position, in pixels at 600dpi.

Table example: Basic, Table example: Variable data.

Click to expand/collapse this hidden textTab_NextRow(TH:tableHandle[;Rulings:boolean=true]):number;

Function

TAB_NEXTROW is used to start a new row of a table: it returns the vertical position of the top of the next row down (in pixels at 600dpi). Row height is determined by the maximum of the vertical spacing specified by the Table Handle and the tallest text composed on the row.

RULINGS (optional) set to TRUE to draw lines at cell boundaries.

Table example: Basic, Table example: Variable data.

See also PEN and TAB_PAD procedures.

Click to expand/collapse this hidden textTab_Home(TH:tableHandle):number;

Function

TAB_HOME returns to the first column cell position without advancing the vertical position. This function my be used to add additional text in each cell (in a different position) or add borders in particular positions.
Cell drawing may be repeated using the cell height determined by the maximum of the vertical spacing specified by the Table Handle and the tallest text composed on the row.

Click to expand/collapse this hidden textTab_Borders(TH:tableHandle;Borders:string);

Procedure

TAB_BORDERS adds borders to a cell.

Borders options are a combination of:

T for TOP
L for LEFT
B for BOTTOM
R for RIGHT

Click to expand/collapse this hidden textTab_Format(TH:tableHandle;FormattedText:list):number;

Function

TAB_FORMAT adds formatted text to a cell. See FORMAT parameters for FORMATTEDTEXT list options.