trichview.com

trichview.support




Re: Loading RTF, extra line


Return to index


Author

Message

David Kroll

Posted: 10/09/2003 22:16:01


  rtfStream := TStringStream.Create(oMessage.Text);

  try

    editor.Clear;

    editor.LoadRTFFromStream(rtfStream);

  finally

    rtfStream.Free;

  end;


This is being used in an email application.  Our custom emails are saved

into the database as rtf.  Above, oMessage.Text is the RTF code that was

saved when the message was saved.




"Sergey Tkachenko" <svt@trichview.com> wrote in message

news:3f85b900$1@support.torry.net...

> All my demos call Clear before LoadRTF.

> Please give me the full code that you use for loading RTF files.

>

>

> > Calling Clear before loadRTF results in an AV (List index out of bounds

> > (-1)) in:

>

>





Powered by ABC Amber Outlook Express Converter