RichEdit inside RIchEdit
Posted on 1998-11-04
I have a RichEdit1 component with some text in it, and I want to insert in some position of it the contents of another RichEdit2. If I use Streams and LoadFromStream, then all text in RichEdit1 gets overwritten by text in RichEdit2. And if I use RichEdit.Seltext = Richedit2.Seltext then I get RichEdit2's text, but without format identifiers as color, bold, underline. etc.
So my question is:
How can I put a Stream inside another Stream in order to put A Richedit2's text inside another richedit1's text without loosing format information?
Thanks ver much.