trichview.support
Re: Copying part of the RichViewEdit to another |
Author |
Message |
Yernar Shambayev |
Posted: 10/25/2004 17:17:55 Select the part of first RichViewEdit and write this code: MemStream := TMemoryStream.Create; try First_RichViewEdit.SaveRVFToStream(MemStream, True); MemStream.Position := 0; Second_RichViewEdit.LoadRVFFromStream(MemStream); finally MemStream.Free; end; Note that properties of First_RichViewEdit and Second_RichViewEdit should be the same. "Peter Jordan" <peter@cifras.com.br> wrote: > >Hello, > >I am newbie in the RichView component and I would like to know how can I >copy part of the text including fonts, colors and styles from a RichViewEdit >to another. I don't want to copy the entire text but just a part, half for >example. > >Best Regards, > >Peter Jordan. |
Powered by ABC Amber Outlook Express Converter