trichview.com

trichview.support




Problem with TRichView - SaveRVFToStream / LoadRVFFromStream


Return to index


Author

Message

M.Spoor

Posted: 12/08/2004 18:35:57


Hi there,


we are new to the TRichView component, so there's a good chance we're

overlooking something, but

are there any known issues with the TRichView methods SaveRVFToStream /

LoadRVFFromStream?


We tried the following piece of code:


  lStream := TMemoryStream.Create;

  try

    rvEdit.SaveRVFToStream( lStream, false );

    lStream.Seek( 0, soFromBeginning );

    rvEdit.LoadRVFFromStream( lStream )

  finally

    lStream.Free;

  end;


...and after the .Loadxxx the editor became empty and non responsive.

We tried it also with a TFileStream, and looked at the produced file, it

also was not really RVF.


Using the SaveRVF and LoadRVF methodes we got better results.


Any ideas would be welcome.

M.Spoor





Powered by ABC Amber Outlook Express Converter