rtf table with no borders

General TRichView support forum. Please post your questions here
Post Reply
csterg
Posts: 306
Joined: Fri Nov 25, 2005 9:09 pm

rtf table with no borders

Post 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
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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
Post Reply