trichview.com

trichview.support




Re: Saving & Loading to a stream


Return to index


Author

Message

trichview.private

Posted: 06/30/2005 16:50:33


Just quick note



Try this


Stream.Position := 0;

RichViewEdit2.LoadRVFFromStream(Stream);

RichViewEdit2.Format;



Alec Mironov

[email protected]



"Chris" <[email protected]> wrote in message

news:[email protected]...

>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