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

Previewer backgroud color

edited September 2003 in General
Is it possible to change the color of the background area around the
page in the previewer?

- Bill

Comments

  • edited September 2003
    Hi Bill,

    Try placing a filled rectangle with ParentWidth and ParentHeight set to true
    in the PageStyle band of the report. Then resize the PageStyle to be the
    same size of each page in the report. This will then always print in the
    background of your report.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2003
    I am sorry but I think that either I wasn't clear or you misunderstood
    the question.

    I am not looking to change the color on the page in the preview, I am
    looking to change the background color of the previewer itself.

    The background color is clGrey and I would like to change it to
    another color.

    - Bill

    On Mon, 22 Sep 2003 08:30:57 -0600, "Nico Cizik \(Digital Metaphors\)"
  • edited September 2003
    Hi Bill,

    Though it should be.... this is not a feature available in ReportBuilder. I
    will mark it down to be added to the next release. For now, if you
    absolutely need this feature, you can take a look at the
    TppScreenDevice.RenderFullBlankPage method in the ppViewr.pas file.
    Changing the FCanvas.Brush.Color will give you the effect you desire (though
    it will have to be hard coded).

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2003
    Thanks! I was hoping for another way, but this will work...

    - Bill


    On Fri, 26 Sep 2003 13:12:19 -0600, "Nico Cizik \(Digital Metaphors\)"
  • edited December 2003
    > Though it should be.... this is not a feature available in

    Excellent. If you can also arrange to have the margins in the previewer
    controllable, I would be much obliged. ;)

    I would like to expand "PageWidth" to the full size of the viewer, with no
    border.

    Best Regards,
    Mark Smith
This discussion has been closed.