TableTexts

New in version 5.0

TableTexts ( options ;​ texts )

Argument Type Range Default Note
options str 0..1000 "" Currently not used.
texts styt 0..100000 ""
Examples

TableTexts("";​"Row1 Text 1\tRow1 Text 2\tRow1 Text 3\nRow2 Text 1\tRow2 Text 2\tRow2 Text 3")

Description

Row texts are separated by a line feed "\n" and the individual cell texts by a tab character "\t".

TABLE_TEXTS_01
1

OpenDrawing(300;​125)

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

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

6

TableColumnAlignments(right;​right;​right)

7

CloseTable()

8

CloseDrawing()

TABLE_TEXTS_01
TABLE_TEXTS_02
1

OpenDrawing(450;​350)

2

OpenTable(10;​10;​left;​top)

3

TableTexts("";​"Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.\tBut I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of <span color=red><i>the great explorer of the truth</i></span>, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.\nAt vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.\tOn the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain.")

4

TableRowGap(1;​8)

5

TableColumnGap(1;​4)

6

TableColumnWidths(200;​200)

7

TableCellBorderRect(1 1 1 2;​1;​#aaa)

8

TableCellBorderRect(2 1 2 2;​1;​#aaa)

9

/* Left column. */

10

TableCellStyle(1 1 -1 1;​Verdana;​11;​plain;​white;​left;​top)

11

TableCellBackground(1 1;​#88f)

12

TableCellBackground(2 1;​#88f)

13

/* Right column. */

14

TableCellStyle(1 2 -1 2;​Verdana;​11;​plain;​black;​left;​top)

15

CloseTable()

16

CloseDrawing()

TABLE_TEXTS_02
Scroll to Top
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×