trichview.support
Re: cell height (for new) |
Author |
Message |
Sergey Tkachenko |
Posted: 11/26/2004 22:45:32 By default, you can use BestHeight only to increase cell height. It cannot be smaller than the height of the cell content. You should not delete all cell items without adding new items to the cell, that can cause an error (because of this, TRichView checks all table cells on the table insertion and readds empty text items in empty cells). You can include rvtoIgnoreContentHeight in table.Option, and row height calculations will be based solely on cell.BestHeight properties (for cells having positive values of BestHeight). Extra cell content will be cropped. > > Hello, > I use BCB6 and TRichview > I try to make smaller the height of cells in a Table. > I have tried Cell[i][j]->BestHeight=5 in a "for" loop after a Cell->Clear() > but nothing.I have tried Table->SetCellBestHeight(h,i,j) but nothing > I have done a search of word BestHeight in the Demo Richview directory and > I have found nothing about. > The size of the font is 9 for the default font and I have a space at the > top and the bottom of the chars in the cell and would to reduce it. > How can I do please? > I thank you in advance > Patrick |
Powered by ABC Amber Outlook Express Converter