Hi Wilfried,
Actually, the code snippets in the article are very close to being
complete. Mostly, you just have to place a TRvSystem somewhere on the
form of the unit that will be doing the printing. Set its properties
(optional). Trigger the Execute method. Adjust orientation, etc., in
the OnBeforePrint method. And emit the report in the OnPrint method.
If you want the option for PDF outputs, just drop a TRenderPDF on the
same form (it links itself in).
I am attaching [though these will be stripped out of the mailing list]
several documents about using Rave. They are:
A Galoot's Guide to Rave (a handy overview, written for version 4)
Rave Developer's Guide (definitive document for version 5.08, but low
information density)
Handy Rave Reference (my distillation of Developer's Guide -- my notes
used while writing code)
Let me know if you have questions. I have been using code-based Rave
reporting for about 4 years. I could send you some of my programs, but
most of them get long (because they are real-world reports).
Rainer
Wilfried Mestdagh wrote:
Hello,
I found this article which describes code based reporting with Rave:
http://edn.embarcadero.com/article/30329
But the code is incomplete and the link to the source is dead. Does
someone has another link, or this source, or other similar example using
Delphi7?
Thx, Wilfried
_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi