Oops - fixed it myself.
Adding the first line
LinesTable.BestWidth := 0
seems to fix things.
Ian
Search found 2 matches
- Fri Aug 04, 2006 1:12 am
- Forum: Support
- Topic: Tables export to RTF problem
- Replies: 2
- Views: 10287
- Thu Aug 03, 2006 5:54 pm
- Forum: Support
- Topic: Tables export to RTF problem
- Replies: 2
- Views: 10287
Tables export to RTF problem
Hi Sergey,
Excellent product but I have a small problem with this code:
LinesTable.BestWidth := 0;
LinesTable.InsertCols(0,LineColumns-1,0,false);
LinesTable.Cells[0,0].BestWidth := -29; //Description
LinesTable.Cells[0,1].BestWidth := -17; //Client Ref
LinesTable.Cells[0,2].BestWidth := -12 ...
Excellent product but I have a small problem with this code:
LinesTable.BestWidth := 0;
LinesTable.InsertCols(0,LineColumns-1,0,false);
LinesTable.Cells[0,0].BestWidth := -29; //Description
LinesTable.Cells[0,1].BestWidth := -17; //Client Ref
LinesTable.Cells[0,2].BestWidth := -12 ...