Cell Borders

General TRichView support forum. Please post your questions here
Post Reply
bglboss
Posts: 14
Joined: Mon Aug 20, 2007 5:33 am

Cell Borders

Post by bglboss »

Sergey

I want to make the border visible on the top of a cell and the bottom of a cell but not the sides of the cell:

ie
_____________
123456
_____________

I also want the top border and the bottom border to be different widths ie top width 1 and bottom width 2.

Is this possible ?
bglboss
Posts: 14
Joined: Mon Aug 20, 2007 5:33 am

Keeping tables together

Post by bglboss »

Sergey

In a similar vein, is there any way I can tell Richview to keep a table together so it will not split a table at a page break ?
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

1) You can use Cell.VisibleBorders to hide some border sides.
Alternatively, you can use table "rules", but they cannot be exported in HTML or RTF.
You cannot make different border widths, it's the same for all cells (but you can draw border yourself in table.OnDrawBorder event)

2) Exclude rvtoRowsSplit from table.PrintOptions.
bglboss
Posts: 14
Joined: Mon Aug 20, 2007 5:33 am

Post by bglboss »

Thanks Sergey
Post Reply