Page 1 of 1

rtf table with no borders

Posted: Fri Jan 13, 2006 7:18 am
by csterg
Hello,
i am trying to import an rtf table (using LoadRTF...) with the following RTF code (1 row, 2 columns):
{\trowd\cellx\cellx{{\intbl %s\cell}{\intbl %s\cell}}\intbl\row}

When richview inserts the table, it also shows the 'hidden' borders (gray dotted lines). How can i avoid this? I suppose i must use some richview specific rtf to 'hide' the borders?
Thanks,
Costas

Posted: Fri Jan 13, 2006 2:52 pm
by Sergey Tkachenko
If you do not use RichViewActions, use the following global variables to change/hide grid lines:

RichViewTableGridStyle: TPenStyle = psDot;
Style of table grid lines (drawn in place of hidden or zero-width border) in TRichView and in read-only mode.

RichViewTableGridStyle2: TPenStyle = psClear;
The same in editors in editing mode.

RichViewTableGridColor: TColor = clBtnFace;
Color of this grid