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

how can i make my preview full page?

edited March 2006 in Component Writing
hi.

i am using RBuilder 5.55 Enterprize edition on Delphi5.
i have DBpipeline and ppReport components on my form.
and here is my code

reportByDepartment.DeviceType := 'Screen';
reportByDepartment.Print;

i know this would make the preview screen.
but, when i see my preview, that's too small. i want my preview window
expended full screen and
width is 100%. what should i do to do it?

please let me know?!


thank you =)

Comments

  • edited March 2006

    Check out RBuilder.hlp for the TppReport.OnPreviewFormCreate event

    Later versions of RB have a Report.PreviewFormSettings property that
    contains subproperties for controlling this.





    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.