Cell property

Applies to
TWPCustomRtfEdit

Declaration
property Cell[rownr,colnr:Integer]: TParagraph;

Description
If the cursor is already inside of a table You can use this property to access a certain cell in the same table. Please make sure to check the result value for nil.
rownr and colnr are counted from 0.
       var cell : TParagraph;
       cell := WPRichText1.Cell[2,2];
       if cell<>nil then  cell.SetText('NEWTEXT');
       WPRichText1.Refresh;
Also see GetCell.

Category
Tables


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com