trichview.com

trichview.support




Re: changing a table in another table


Return to index


Author

Message

steve

Posted: 03/26/2002 20:28:48


Hello,


seems I didn't explain my problem good. Next try:


I insert a table in RichViewEdit, place the caret in a cell and insert a

second table. After that I want to add rows to the second table, but here

I always get an exception "ListIndex out of Bounds".


steve


"Sergey Tkachenko" <[email protected]> wrote:

>Hello,

>

>If you want this operation to be undone, you can do the following:

>

>myTable = new TRVTableItemInfo(3,3,RVE->RVData);

>myTable->InsertRows(3, 1, 0, true);

>oldtable->EditCell(row,col);

>RVE->InsertItem("RVTable",myTable);

>

>The code above will insert myTable at the beginning of

>oldtable->Cells[row][col];

>

>





Powered by ABC Amber Outlook Express Converter