I did a simple test form with the component TRichVieEdit and a button that creates a table.
Table is created correctly, now i wnat to manage that table such has adding or deleting columns/rows via a new button
Code: Select all
TRVTableItemInfo *table = new TRVTableItemInfo(nRow, nCol, pRichView->RVData);
table->Color = clYellow;
pRichView->InsertItem (tName, table);
The problem now is: how can i reference to my table already created in order to add rows/columns?
i mean, i've seen the examples:
Code: Select all
procedure InsertRows(Index, Count, CopyIndex: Integer);
Code: Select all
MyTable.InsertRows(Index, Count, CopyIndex: Integer);
How i've been clear, anyway just tell me and i'll provide new examples.
Thanks