home *** CD-ROM | disk | FTP | other *** search
- RP_SHELL1 Contains two components. They must be installed in Delphi.
-
- They were developed using ReportPrinter 1.1e and require that you have and own
- a legal copy of such product.
-
- After registering and installing the components open the project SHELDEMO.DPR.
-
- Then compile and run.
-
- Most of the source code in the demo is pretty self-explanitory or commented.
-
- The example DEMOFORM.PAS shows a very generic usage of these components.
-
- The "Detail" report is a simple listing of a random sequence with sub-grouping.
- The "Master-Detail" report is a listing of items with the above detail report
- nested inside of each master item's header & footer.
- The "Master-Master-Detail" report is a modification of the above example in
- two significant ways. It shows that these components can be nested as many
- times as is necessary and also that multiple detail objects or even
- master-detail object combos can be used by a parent master object. See the
- "OnValidateChild" event for details.
-
- These reports will be 1 page, about 10 pages and about 100 pages respectively.
-
- The properties to the left of the buttons are to allow you to experiment with
- these features to see how they effect the output.
-
- The "Reprint..." properties makes the system trigger the "OnPrintHeader..."
- event, due to a page break, with the necessary parameter to distinguish it
- from a normal header print event.
-
- There is also an example of how to use the public method "PrintHeader" to
- generate the page-header. This again triggers the OnPrintHeader event and
- provides a parameter to distinguish a user initiated event from a normal or
- system reprint triggered event.
-
- There are two other public methods "PrintGroupHeader" and "PrintNewPage".
-
- The "NewPageOn..." properties generate a new page per each component's item.
- It will keep headers of nested components together though. ( Which is good. )
-
- Other event parameters worthy of special mention are the "OnPageBreakBefore"
- and "OnPageBreakAfter" with parameters of "VAR AbortNewPage" and "Aborted".
- If in the before page event the parm AbortNewPage is set to true the events
- will continue to fire ( Up the chain of nested components ) but when the
- highest parent component is reached the call to BaseReport.NewPage will be
- skipped and no new page will be generated. "AbortNewPage" will be as it were
- a global from component to component ( up the nesting chain ).
- Then, the "OnPageBreakAfter" event will still be fired and the parameter
- "Aborted" tells whether or not the new page was aborted.
- Sorry I haven't provided a demonstration of a useful example on this feature.
- But, this is some pretty advanced stuff. . .
-
- If you have any questions or comments please send an e-mail to the author:
-
- Jason L. Wharton
- CServe:103757,763
-
- or call ( if you must )
-
- (602) 834-7454 (voice)
-
-
- NOTE:
-
- There will be comprehensive documentation provided if enough positive
- feedback is received as a result of this sampling in the form of a
- commercial version.
-
- This demo is not to be used for commercial use without obtaining a
- registered version from the author.
-
- This package of files should not be distrubuted in any altered condition.
-
- However, distribution of this origional package is highly encouraged.
- Especially since if user response is high a lower price will be affixed
- to the commercial version as confidence of acquiring large numbers of
- registered users increases.
-
- So, go to work getting this around and see how cheap you can get the best
- ReportPrinter add-on product ever made!
-
-
-