How to protect and fixed cell size.
1.Input does not wrap.
1.I am so to solve the problem
ParaInfo.Options + [rvpaoNoWrap]
2.Input is greater than the cell length tips beyond the cell length range.
I don't know how to solve.
How to FIXED CELL
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Posts: 29
- Joined: Mon May 07, 2012 2:36 am
THANKS I TRY TO SET BestWidth AND BestHeight .IT'S OKSergey Tkachenko wrote:It's possible only for the whole table, not only for some specified cell.
Include rvtoIgnoreContentWidth in table.Options.
Assign Cell.BestWidth to specify its width.
Code: Select all
table := TRVTableItemInfo.CreateEx(2, 2, RichViewEdit1.RVData);
table.Options := table.Options + [rvtoIgnoreContentWidth, rvtoIgnoreContentHeight];
for r := 0 to table.RowCount-1 do
for c := 0 to table.ColCount-1 do begin
table.Cells[r,c].BestWidth := 100;
table.Cells[r,c].BestHeight := 100;
end;
RichViewEdit1.InsertItem('', table);
------------------------------------------------------------------
How to judge the input text over the BestWidth or BestHeight to remind users.
What triggered the method USES .
[/code]
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: