trichview.support
Re: Iterating through table cells |
Author |
Message |
Yoerdes |
Posted: 07/02/2003 16:51:54 Of course :) I had tried the first version and got AVs and didn't think of testing cells for their existence. Thank you Yoerdes Sergey Tkachenko wrote: > 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 then > begin > // your code here > end; > > >>I believe the best way is the standard way: >> >>for r := 0 to table.Rows.Count-1 do >> for c := 0 to table.Rows[r].Count-1 do |
Powered by ABC Amber Outlook Express Converter