Home General

Printing the summary band on te next page if it doesn't fit totally

edited September 2001 in General
I would like to print the summary band on the next page if it doesn't fit
totally on the current page. If it fits, it has to be printed on the current
page. How can this be done? The new page property always prints the summary
band on a new page, so that is no option.

How can i resolve this problem,

Best regards,

--
Wim Looman

wim.looman@hills.nl
Hills automatisering

Comments

  • edited September 2001
    Place everything in the summary band in a stretching region component which
    has been resized to the size of the summary band. There is a KeepTogether
    property on the region component which will force the region to print on on
    page if possible.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited September 2001
    Can i do this during run-time? Is is possible to place everything in the
    summary band in a run time created region?
    I've tried to change the parent of the components but the parent property of
    a TppComponent is readonly.

    Regards, Wim Looman.


  • edited September 2001
    Set the Region property of a component so that the component will be
    controlled by the region.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited September 2001
    Jim, Thanks for all the answers.

    There is only one thing left which goes wrong. I have existing components in
    a layout.
    Now i create a region at run time and set the Region property for this
    components which are in the summary band.
    When i print the layout, the components with the changed region property do
    not appear. It seems the are
    hidden under the region. I guess that this happens because the parent of the
    component is still the summaryband.

    Can you tell met what I am doing wrong?

    Regards, Wim.

    wim.looman@hills.nl
    Hills automatisering


  • edited September 2001
    When you create the region, you can call Region.SendToBack and it will push
    the region behind the other controls so you can see them. You could also
    set the Region.Transparent = true.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.