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

Margin Settings

edited August 2004 in General
Hello,

Am using D7 and RB 7.04

When I set the MarginLeft property, is does not appear to do anything.
Currently, I have 0.25 set. When I view the report. it looks centered.
When I change it 1.0, and run the report again, nothing happens. The left
margin remains at 0.25 on the printed report.

Can someone advise please?

Kind Regards,

Kevin

Comments

  • edited August 2004
    I should note that when I change it in the Object Inspector, I do see a
    difference. When I do it in code, I do not.

    kevin


  • edited August 2004
    I forgot to let you know how I am attempting to set the property. :-(

    I have tried in the OnCreate of the form and in the BeforePrint event of the
    rb component using the following code:

    rptMyReport.PrinterSetup.MarginLeft:=0.75

    kevin

  • edited August 2004
    Hi Kevin,

    There are no known issues like this one in ReportBuilder. In my testing, I
    placed a label on the left margin and assigned the
    Report.PrinterSetup.MarginLeft to 1.0 just before calling Report.Print.
    This moved the left margin to 1 inch successfully. If possible, please send
    a small example of this behavior to support@digtial-metaphors.com in .zip
    format and I'll take a look at it for you.

    --
    Best Regards,

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