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

Manually resize a component once band height calculated

edited January 2007 in End User
Hi,

I have a control (3rd party mplGrid). It does not have a dynamic height
property. I have a sub-report that prints in a group footer and the footer
is dynamic height. Is there a way to resize the height of the mplGrid
component once the height of the footer has been calculated. I have tried a
number of things without success. RB603 end-user.

Thanks

Alex

Comments

  • edited January 2007
    Hi Alex,

    You can try doing this during the second pass of a two-pass report
    generation. The first pass is to calculate required band sizes and
    pagination, so the band height should be calculated. Inside the
    Band.BeforPrint event, first check for the second pass, then alter the
    height of your component.

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