trichview.support
| Re: Table formatting | 
| Author | Message | 
| Sergey Tkachenko | Posted: 09/10/2003 17:52:53 Percent-width columns have higher priority for TRichView table layout algorithm. Just leave the last column's BestWidth equal to 0: Table.Cells[0, 0] := 20; Table.Cells[0, 1] := 60; Table.Cells[0, 2] := 0; (I corrected cell column indices in your example) > > Another dummy question. > A table contains 3 columns, two fixed-length and one taking all remaining > space. How to implement? > Table.Cells[0, 0] := 20; > Table.Cells[0, 0] := 60; > Table.Cells[0, 0] := -100; > this approach doesn't work, > text in second column is wrapped (while it can be displayed in 60 pixels). | 
Powered by ABC Amber Outlook Express Converter