Property TWPCustomRtfEdit.Cell[RowNr][ColNr] : TParagraph
Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit
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