trichview.support
Re: Table borders problem |
Author |
Message |
Sergey Tkachenko |
Posted: 11/21/2004 16:50:09 Set table->CellHSpacing = -1; table->CellVSpacing = -1; And you hide table border, leaving only cell borders. > > 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