Table of Contents

O4WCellStyle routine

Description

(Deprecated in O4W 1.1) Creates a "style" for table contents.

Syntax

O4WCELLSTYLE(stylename, #cols, #rows, align, vertalign, headerFlag)

Parameters

The function has the following parameters:

ParameterDescription
stylenameThe name of the style.
#colsIf specified, the current table cell will expand across the number of columns.
#rowsIf specified, the current table cell will expand across the number of rows.
alignIf specified, the text in the cell is horizontally aligned according to its value (this can be any valid CSS "text-align" value, and O4W recognizes 0,1, and 2 as "shortcuts" for left, center, and right).
vertAlignIf specified, the text in the cell is vertically aligned according to its value (this can be any valid CSS "vertical-align" value, and O4W recognizes 0,1, and 2 as "shortcuts" for top, middle, and bottom).
headerFlagIf <headerFlag> is set to "1", the cell is styled as a table header ("th") instead of the default table detail ("td").

Remarks

Returns

the style information (to use immediately with a display element or input control), and (if <stylename> is not null) defines the style by the stylename for use with one or more elements and input controls.

Since this routine has been deprecated refer to O4WTableCellOptions and O4WAlignStyle routines.

See Also

O4WTableCellOptions routine, O4WAlignStyle routine