trichview.support
Re: Saving & Loading to a stream |
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 mirolex@rogers.com "Chris" <cdurkin@siliconrose.com.au> wrote in message news:42c2ad06@support.torry.net... >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