[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 258
  • Last Modified:

Browsing pages in Qreport custom preview

I would like to now how i can get the first, prev, next or last page in a custompreview.
Zooming  and  printersettings would also very nice to known.

Thanks.
0
gipa
Asked:
gipa
1 Solution
 
ZifNabCommented:
Hi gipa,

The Page is defined as the pagenumber. So:

First page : QRPreview1.PageNumber := 1;
Next page  : QRPreview1.PageNumber := QRPreview1.PageNumber + 1;
Previous  : QRPreview1.PageNumber := QRPreview1.PageNumber -1;
Last      : QRPreview1.PageNumber := QRPreview1.PageCount;

Use Zoom, ZomeToFit, ZoomToWidth to use zoom capabilities.

Go to PrintSetup for printersettins : QRPrinter1.PrintSetup.

Have fun,
c.u. ZifNab;



0
 
gipaAuthor Commented:
ZifNab Thank you.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now