trichview.com

trichview.support




Table cell colors


Return to index


Author

Message

Harold Holmes

Posted: 12/17/2004 8:57:44


I didn't see a table editor like there is for paragraph borders so I'm

writing one and ran into a problem with odd tables.


I was doing the following:


  for r := 0 to FTable.Rows.Count-1 do

    for c := 0 to FTable.Rows[r].Count-1 do

        begin

        FTable.Cells[r,c].BorderColor:=BorderColorCBx.ChosenColor;

        FTable.Cells[r,c].Color := cellColorcbx.ChosenColor;

        end;


The problem is that if you split/merge cells I am getting an AV error. Is

there a way to access every cell to adjust its background color?

--

Best regards,

Harold Holmes





Powered by ABC Amber Outlook Express Converter