trichview.support
Re: Building a custom report |
Author |
Message |
Sergey Tkachenko |
Posted: 06/20/2003 20:25:30 Here you can find a code (based on demo in Demos\Delphi\Assorted\Printing\ReportHelper\) how to make a print preview with RVReportHelper: http://www.trichview.com/support/files/preview.zip (idea: print preview is created for some fake (empty) document; RVReportHelper's document is drawn in TRVPrint.OnPagePrepaint) FastReport is not supported yet (when I tried to make wrapper for it, it did not have programming API flexible enough; may be FR was improved since that). Currently, the only supported third-party report is ReportBuilder. > We use FastReport for building our reports but RV does not have a wrapper > for this, in fastreport I can use RXRichEdit but it does not show any lines > or jpeg pictures added by RV. So I was wondering if it is possible to build > a custom report using RV, I had a look at RVReportHelper but there is no > preview facility with it. > > So I was thinking is it possible to copy the contents of a RV document to a > TCustomRichView object created in code or a non visible RichViewEdit, I then > add my additional content for the report using the Add functions provided by > RV and then use RVPrint and RVPrintPreview with this new TCustomRichView > object to print the report. > > Is this the best way to do this or is there a better solution? > > Regards, > > Etienne. > > > |
Powered by ABC Amber Outlook Express Converter