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

margins (different on 1st and 2nd pages ...)

edited February 2005 in General
How to make diffrent margins on 1st and 2nd pages, .....
For exlample:
1st Page:
left margin 25, right 5
2nd Page
left margin 5, right 25

Best Regards
Jurek;)

Comments

  • edited February 2005
    Hi Jurek,

    Try using the Report.OnStartPage to change the
    Report.PrinterSetup.MarginLeft and MarginRight properties based on the
    PageNo property.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited February 2005
    Hi Nico!
    I use
    if (Report.PageNo mod 2) = 1 then begin
    Page0.Caption := '- 18 -';
    Page1.Visible := False;
    Report.PrinterSetup.MarginRight := 5;
    Report.PrinterSetup.MarginLeft := 25;
    end
    else begin
    Page1.Caption := '- 19 -';
    Page1.Visible := True;
    Report.PrinterSetup.MarginLeft := 5;
    Report.PrinterSetup.MarginRight := 25;
    end;
    and
    1st page is OK
    and next to,,,

    Jurek

This discussion has been closed.