trichview.support
Re: Copying text between 2 richviews |
Author |
Message |
Yernar Shambayev |
Posted: 06/29/2003 7:18:39 This should work: MemStream := TMemoryStream.Create; try RichView1.SaveRVFToStream(MemStream, False); MemStream.Position := 0; RichView2.LoadRVFFromStream(MemStream); finally MemStream.Free; end; "Jason" <[email protected]> wrote: > >If I created 2 richview components, put text in the one, and I want to copy >the text onto the second component with all the formatting, how do I do that? > >RichView2 := RichView1; //doesn't work, copies the pointer.... > >Thanks for the help |
Powered by ABC Amber Outlook Express Converter