Aligning controls at run-time
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
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
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com