Page 1 of 1

cell, cell,data, data

Posted: Tue Dec 24, 2013 4:50 am
by iambeijing086
how make two cell data same?

Code: Select all

      oRVList := oTable.Cells[2, 2].Items;
      oRVList.Assign(FCellData.Items, laCopy, nil);
but when application close£¬can occur error

how can i do it?

Posted: Tue Dec 24, 2013 8:02 am
by Sergey Tkachenko
You can save content of one cell to TMemoryStream, then load to another cell.
Do these cell belong to the same table?

Posted: Wed Dec 25, 2013 2:02 am
by iambeijing086
not belong same table

Posted: Thu Dec 26, 2013 8:50 am
by Sergey Tkachenko
Do they belong to tables inserted in the same TRichView?

If not, the example of copying is here:
http://www.trichview.com/support/files/copyfromcell.zip

If yes, it may be implemented simpler.