Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>
TAdvRichEditor
How to copy contents from one TAdvRichEditor instance to another
How to copy contents from one TAdvRichEditor instance to another
Copying contents from one TAdvRichEditor instance to another can be done in following way:
var ms: TMemoryStream; begin ms := TMemoryStream.Create; try AdvRichEditor1.SaveToStream(ms); ms.Position := 0; AdvRichEditor2.LoadFromStream(ms); finally ms.Free; end; end;