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

Aligning controls at run-time

edited May 2002 in General
Hi,

I have a TppDBMemo with its KeepTogether property set to True. The memo
contains the description of an item. There are also Quantity and Price
ppDBText fields. I'd like the top of these to be the same, even when the
TppDBMemo starts on a new page. I tried setting the top of the other fields
to the top of the memo in the DetailBand Print event, the memo's Print
event, and no luck-- the price and qty stay on the previous page. I even
tried putting them all in a region, but no luck there either. How can I
align these fields?

Natalie

Comments

  • edited May 2002
    Place the memo in one region (with KeepTogether set to True) and the
    quantity and price labels in another. Set the first region to Stretch and
    set the second one to StretchWithParent. This will cause the second region
    to size itself with the first one and carry over onto a new page if needed.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.