trichview.com

trichview.support.thirdparty




Reportbuilder TppRichView


Return to index


Author

Message

Lee.Bambury

Posted: 10/27/2004 12:34:39


I have placed a report on my app to print the results of a users

modification on Trichveiw, when the user prints I want to assign the

contents of the TRichview to the one on the report I have tried using the

following code but it does not work, just comes through blank.


  sWork := TStringStream.Create('');


  {*** Dave Email To Stream And Load On The Report ***}

  TfrmRichEmail1.txtBody.SaveRVFToStream(sWork,False);

  txtRichPrint.RichView.LoadRVFFromStream(sWork);

  txtRichPrint.RichView.Format;


  {*** Reset And Print The Report ***}

  repEmail.Reset;

  repEmail.Print;


Kind regards

Lee





Powered by ABC Amber Outlook Express Converter