trichview.support
Re: Selected Cells |
Author |
Message |
Jonas Bilinkevicius |
Posted: 02/05/2004 14:45:15 I have added the code table.GetEditedCell(r,c)<>nil to make posible changing not only selected cells but also one cell. But I have noticed that sometimes there appears an error: List index out of bounds. I do not understand what's wrong. Why? for r := 0 to table.Rows.Count-1 do for c := 0 to table.Rows[r].Count-1 do if ((table.Cells[r,c]<>nil) and ((table.IsCellSelected(r,c)) or (table.GetEditedCell(r,c)<>nil))) then table.Cells[r,c].BestWidth:=10 "Sergey Tkachenko" <[email protected]> wrote in message news:[email protected]... > for r := 0 to table.Rows.Count-1 do > for c := 0 to table.Rows[r].Count-1 do > if (table.Cells[r,c]<>nil) and > table.IsCellSelected(r,c) then ... > > |
Powered by ABC Amber Outlook Express Converter