Board index » delphi » Copy a RTF to Quick Report

Copy a RTF to Quick Report

Gentlemen
  Having tried to utilize RichEdit demo that came with Delphi 3.0, it does
not quite meet my needs.  I have placed a TQRRichEdit component on my
QuickRep1 form and linked it to Richedit Text on a previous form.  Too,
have attempted to use the Lines.LoadFromStream and Lines.LoadFromFile
method on the Richedit without any success.  

Does anyone have a sample they don't mind sharing that will Print a *.RFT
file (Where the user may have modified the *.RFT file) onto a QuickReport
form.  ( The QuickReport form is used to bring in a couple of *.BMP files.)

Thanks
 Ron Spahr
E-Mail:  ron_sp...@mhcs.org

 

Re:Copy a RTF to Quick Report


Because of the design of QuickReport there is a minor problem at the moment.
If you have the sources of quickreport you can apply a little change to get
things up and running.

QuickReport needs to be changed !!
Not much but stil it must be changed. All (1 i think) references to
TCustomRichEdit comps must be changed to TRichEdit.(I QrCtrls) I don't know
why but the custom one handles streaming differently.

--
Greatings Andr Mens  Author of QReport Artist
EMail mens...@wxs.nl
Homepage http://home.wxs.nl/~mensand

Ron Spahr heeft geschreven in bericht <6udegu$3t...@forums.borland.com>...

Quote
>Gentlemen
>  Having tried to utilize RichEdit demo that came with Delphi 3.0, it does
>not quite meet my needs.  I have placed a TQRRichEdit component on my
>QuickRep1 form and linked it to Richedit Text on a previous form.  Too,
>have attempted to use the Lines.LoadFromStream and Lines.LoadFromFile
>method on the Richedit without any success.

>Does anyone have a sample they don't mind sharing that will Print a *.RFT
>file (Where the user may have modified the *.RFT file) onto a QuickReport
>form.  ( The QuickReport form is used to bring in a couple of *.BMP files.)

>Thanks
> Ron Spahr
>E-Mail:  ron_sp...@mhcs.org

Other Threads