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

Keep Together - Rectangle not Printing on Next Page

edited January 2006 in General
Delphi v5
ReportBuilder v7.04

I have a ppRichText component within a ppRegion component which is placed
in the Title band of a sub-report.
ppRichText:
KeepTogether: True
Stretch: True
ppRegion:
KeepTogether: True
StretchWithParent: True
However, the text in ppRichText does not Keep Together. This is only a
problem in a sub-report.

Placing a border around the ppRegion component by setting it?s Pen
property results in a border around the region on the first page but the
region does not have a border on the second page. Once again, this is
only a problem in a sub-report.
Replacing the ppRegion with a ppShape component (a rectangle) results in
the same problem.

It would be really, really nice to have a Pen property for all ppPrintable
components.



--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited January 2006
    Hi Richard,

    Instead of having the TppRegion stretch with parent, try setting its Stretch
    property to True. In my testing this kept the region together inside a
    child subreport. You may also try setting the Subreport.Keeptogether
    property to True.


    ReportBuilder 9.x includes a new border feature for all printable objects.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2006
    Nico, thank you for your response.

    Changing the property of the TppRegion from StretchWithParent to Stretch
    resulted in no border on both the first page and subsequent pages.

    Changing Subreport.Keeptogether to true did not result in any change.

    Setting NewPage to be true for the Title Band of the subreport did not
    result in a new page. The second page of the Title Band (the one that is
    missing the border) is no longer printing.

    I have Delphi V5 and ReportBuilder 7.04.

    Does this mean I can only upgrade Report Builder if I upgrade Delphi?



    --- posted by geoForum on http://delphi.newswhat.com
  • edited January 2006
    Hi Richard,

    If possible, please provide me with exact steps I can take to recreate this
    issue on my machine or send a small example I can run in .zip format to
    support@digital-metaphors.com.

    ReportBuilder 9 is only available for Delphi 6, 7, and 2005.

    --
    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.