Page 1 of 1

Setting Font & Color for Tables

Posted: Thu May 28, 2020 4:24 am
by pgkammath
Hi,
I want to do the following.
1. How to make the Table Borders Single Line now it is double line
2. How to Set Font and Color for Table Cells.

Thanks in advance

Regards,

Re: Setting Font & Color for Tables

Posted: Thu May 28, 2020 7:58 am
by Sergey Tkachenko
1) Make table border invisible, and cell borders overlapping:
table.BorderWidth := 0;
table.CellHSpacing := -table.CellBorderWidth;
table.CellVSpacing := -table.CellBorderWidth;

2) Tables and cells do not have default font. You define font in table cells just like font outside tables, using RVStyle.TextStyles. The same for font color. Or do you ask for cell background color?

Re: Setting Font & Color for Tables

Posted: Thu May 28, 2020 9:25 am
by pgkammath
Thank you. Done