trichview.com

trichview.support




Table borders problem


Return to index


Author

Message

vAv

Posted: 11/21/2004 12:51:56


Hi.

I'am interesting how to make borders (in tables of TRichView) to have width/height

ONE pixel, NOT TWO.

I'm trying to do like this (c++):


table->BorderColor     = clGray;

table->CellBorderColor = clGray;

table->CellPadding     = 1;

table->BorderWidth     = 1;

table->CellBorderWidth = 1;

table->BorderVSpacing  = 0;

table->BorderHSpacing  = 0;

table->CellHSpacing    = 0;

table->CellVSpacing    = 0;

table->BorderStyle     = rvtbColor;

table->CellBorderStyle = rvtbColor;


"BorderWidth = 1" makes each cell's border width equal to 1, but when there

is no space between cells - these two cells make united border with 2 pixels

:(


If there is a way to make ONE PIXEL BORDER ONLY, please help me.

Thanx in advance.





Powered by ABC Amber Outlook Express Converter