What is the best way to copy the entire contents of one RichViewEdit to another?
Saving to a memory Stream and then loading seems to work.
rve1.AppendFrom(rve0]) works, but Bullet points seem to erroneously take on the contents of one of my ImageLists
TRichViewEdit - Copy
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Yes, that seems to be OK. I think a lot of my other problems are about to go away as well now. In order to open several documents at the same time I had an array of TRichViewEdit. Each element having its own style. This generally worked but seems to get some odd effects. Now I have one RichViewEdit and an array of MemoryStreams.