Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

how can i get to know that last page of report will be printed?

edited October 2003 in General
Hi!
How can i get to know that last page of report will be printed?
What is the PageRequest object passed as parameter in OnPageRequest event
and how can i use properties of it?

Thanks.

Comments

  • edited October 2003
    Hi Sergey,

    The OnPageRequest returns the TppPageRequest object which in turn contains
    the enumerated type TppPageSettingType, and the integer number of the page
    requested. For instance if you are in the Previewer and you select to go to
    the last page, the TppPageRequest.PageSetting will be set to psLastPage.
    For an example of how this works, do a search on psLastPage in the
    ppViewer.pas file.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.