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

Vertical Lines Are Not Printed On Overflow

edited June 2002 in General
"Houston, we have a problem!"

I designed a detailband with dynamic height depending on a stretching
TppDBMemo. In that detailband there are also placed some vertical lines.
"ParentHeight" and "ReprintOnOverflow" are set "True". But these lines are
not printed on a new page (after the detailband went out of space) until the
next detailband begins.

What can I do? (I'm using RB 6.03 and Delphi 5 Pro)

Regards,
Eric

Comments

  • edited June 2002
    Where are the lines placed in relation to the memo. If the lines are
    position above the memo and print first and then the memo goes to print and
    overflows this is not considered overflow as far as the lines are concerned
    if they have had a chance to print. You can put everything together in a
    Region component and set KeepTogether on the memo to true.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited June 2002
    Hi Alexander,


    As "ParentHeight" of the vertical lines is set "True" they are the first to
    print, when scanning down the detailband. Then the (streching) memo is
    printed until it causes an overflow. On the new page the memo is printed
    further as wished. The vertical lines should be printed anyway because of
    the ParentHeight property until the detailband has finished.


    If you had great memos this suggestion would leave great white areas on the
    pages.

    Isn't there any way to force printing the lines the whole ParentHeight even
    if the detailband is divided in two parts on two pages?

    Regards,
    Eric
  • edited June 2002
    Set StretchWithParent property on the lines. This will cause them to strech
    with the memo. ParentHeight won't do that.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited June 2002
    Turns out this problem is the same problem that I posted earlier today
    ("details band continuing on next page"). In my case I am using tppshapes, not
    lines. Setting the StretchWithParent property does not make them stretch.

    Bruce

  • edited June 2002
    Yeah, that's it (ReprintOn Overflow AND StrechWithParent)!

    Thank you, Alexander and Bruce until next time!

    Eric
This discussion has been closed.