Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 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|O4WTableCellOptions]] and [[o4walignstyle|O4WAlignStyle]] routines. ==== See Also ==== [[o4wtablecelloptions|O4WTableCellOptions]] routine, [[o4walignstyle|O4WAlignStyle]] routine guides/o4w/o4w_api/o4wcellstyle.txt Last modified: 2024/06/19 20:19by 127.0.0.1