hi people
wants a richviewedit1 via a switch
ppRichview1 take over.
this code does not work:
pprichview1.richview: = richviewedit1;
What must I do?
best greetings
Jmich
Report Builder and ppRichView
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
To copy document, use this code:
Code: Select all
var Stream: TMemoryStream;
Stream := TMemoryStream.Create;
richviewedit1.SaveRVFToStream(Stream, False);
Stream.Position := 0;
pprichview1.richview.LoadRVFFromStream(Stream);
Stream.Free;