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:
Parameter | Description | |
---|---|---|
stylename | The name of the style. | |
#cols | If specified, the current table cell will expand across the number of columns. | |
#rows | If specified, the current table cell will expand across the number of rows. | |
align | If 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). | |
vertAlign | If 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). | |
headerFlag | If <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