Identifying when on last page
I am using the Viewer to preview the pages. To go to the Next page, I
have a button that uses the NextPage method, however, I would like to make
the button not visible if the user is on the last page (the report is in
OnePass mode).
Thank you
--- posted by geoForum on http://delphi.newswhat.com
have a button that uses the NextPage method, however, I would like to make
the button not visible if the user is on the last page (the report is in
OnePass mode).
Thank you
--- posted by geoForum on http://delphi.newswhat.com
This discussion has been closed.
Comments
The previewer checks the TppPage.LastPage to determine the visibility of the
Next and Last buttons. You can gain access to the current TppPage object
using the TppViewer.CurrentPage property.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com