trichview.com

trichview.support




Saving & Loading to a stream


Return to index


Author

Message

Chris

Posted: 06/29/2005 16:48:23


I am using the Demo version, and am experimenting with streams.  I followed

a example posted on this newsgroup.


var Stream : TMemoryStream;

begin

Stream := TMemoryStream.Create;

RichViewEdit1.SaveRVFToStream(Stream, False);


Stream.Position := 0;

RichViewEdit2.LoadRVFFromStream(Stream);

Stream.Free;

end;


But this does not work RichViewEdit2 stays blank, and if I try to

right-click or type something in it I get a EListError.


Both point to the same style comp.


Thanks


Chris Durkin





Powered by ABC Amber Outlook Express Converter