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

How to hide the border

edited March 2006 in General
on the regions?
I have tried making it transparent (no change), and visible unchecked
(nothing showed).
I would like to get rid of the border on the region in print preview.

Delphi 7, RB 9.02

Comments

  • edited March 2006
    Hi Connie,

    Setting the Pen.Style to psClear should remove the border of the region
    object.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2006
    Thanks.

    Here's another question.
    How can I change the thickness of the borders I put around the database
    fields?
    I have tried changing the line style, but it doesn't seem to be changing
    anything.

  • edited March 2006
    Connie,

    DBText1.Border.Weight is the method you want or just set the value for the
    object using field in the report tree or the line thickness button on the
    draw toolbar

    --

    Bob

  • edited March 2006
    I have tried that (in the desinger, not in the dbtext1.border).
    It won't go smaller than .125, and it looks to thick for the field.

    The thickness I want is the same thickness as it is for a rectangle, when I
    set the pen width to 1.
    Currently it looks like it would if the rectangle pen width were 2.
  • edited March 2006
    Hi Connie,

    Try setting the weight to 0. This should give you a hair line (i.e. 1 pixel
    wide).

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited March 2006
    Okay, I tried that.
    No joy.
    And when I go back into the designer, it resets to 1.

  • edited March 2006
    Hi Connie,

    Which version of ReportBuilder are you using? In my testing with RB 10.02,
    setting the Border.Weight to 0 gave me a single pixel line border around a
    text object when printing to the printer. Please give me the exact steps
    you are taking to produce this behavior and I'll try it on my machine.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2006
    I am using version 9.02, Delphi 7

  • edited April 2006
    Hi Connie,

    Note that the output to the screen and the output to the printer can vary
    due to the difference in resolution. The true test of the thickness of a
    line or spacing of components is to print it to paper. Please give me the
    exact steps you are taking to produce this behavior and I'll try it on my
    machine. You also may want to try updating your version of ReportBuilder to
    RB 9.03. Contact info@digital-metaphors.com with your serial number for
    upgrade information.


    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2006

  • edited April 2006
    Also, I have printed the report, and the border is definitely not hairline.
    Looks like it does on the screen.

  • edited April 2006
    Thanks for the steps and info.

    There is now a patch available that fixes these issues for RB 10.02. Please
    contact support@digital-metaphors.com if you are interested.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2006
    I have hundreds of v. 9 reports at dozens of sites.
    Some of these reports are fully customized by the users.
    Will the reports blow up if I open them to run in the newer version of
    Report builder?

  • edited April 2006
    Hi Connie,

    Yes, your existing reports will work correctly with RB 10. I would
    recommend downloading a trial edition of RB 10.02 and testing a few of your
    reports to be sure. I can send you the patch and you can test that out as
    well if you would like before upgrading.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited April 2006
    I have now updated to the latest version of 10.02.
    Is this fix included?

  • edited April 2006
    Hi Connie,

    There is a patch available that fixes this problem. Please send an email to
    support@digital-metaphors.com requesting the patch and I'll get it to you as
    soon as possible.

    --
    Regards,

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

    Best Regards,

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