TableColumnAlternateBackgrounds

New in version 5.0

TableColumnAlternateBackgrounds ( color1 ;​ color2 ;​ . . . ;​ color1000 )

Argument Type Range Default Note
color1 rgba 0..255 none
color2 rgba 0..255 none
... rgba 0..255 none
color1000 rgba 0..255 none
Examples

TableColumnAlternateBackgrounds(white;​#eef) /* Color of col1 col2 ... */

TableColumnAlternateBackgrounds(darkBlue;​#fff;​#fff;​#fff;​#fff)

Description
TABLE_COLUMN_ALTERNATE_BACKGROUNDS_01
1

OpenDrawing(300;​130)

2

OpenTable(0;​0;​left;​top)

3

TableTexts("";​"10\t1,234.21\t712\n25\t93.42\t3949\n268\t234.20\t6854\n185\t-1,692.21\t•••\n124\t198.50\t1000")

4

TableCellStyle(0;​Verdana;​15;​plain;​black) /* 0..all cells. */

5

TableColumnAlignments(right;​right;​right)

6

TableColumnWidths(0;​100;​80) /* 1st column: 0...automatic column width. */

7

TableColumnAlternateBackgrounds(#e0e0ff;​#efefff;​white) /* Color of col1 col2 ... */

8

CloseTable()

9

CloseDrawing()

TABLE_COLUMN_ALTERNATE_BACKGROUNDS_01

See also TableRowAlternateBackgrounds() .

Scroll to Top