cell, cell,data, data

General TRichView support forum. Please post your questions here
Post Reply
iambeijing086
Posts: 22
Joined: Mon Dec 02, 2013 1:41 am

cell, cell,data, data

Post 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?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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?
iambeijing086
Posts: 22
Joined: Mon Dec 02, 2013 1:41 am

Post by iambeijing086 »

not belong same table
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post 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.
Post Reply