trichview.com

trichview.support.examples




Demo (C++): dynamic headers and footers


Return to index


Author

Message

Sergey Tkachenko

Posted: 07/10/2004 15:08:20


Demo for C++Builder

http://www.trichview.com/support/files/cppheader.zip


It uses RVReportHelper to generate different headers (with page number) for

each page.

It's assumed that all headers and footers have the same height.


Tips for optimization: it would be faster to reformat headers and footers

(Init + FormatNextPage) not on each redrawing of preview but on page change.


This example was created with the newest version of TRichView which has some

new properties.

If you use older version of TRichView, C++Builder may display warnings about

unknown properties.

Press Ignore All and save the form before compiling.





Powered by ABC Amber Outlook Express Converter