Skip to Content

datawindow bands header height value when using autosize property set to yes

i have an external dw with header autosize property set to yes and a column in header band which is also autosize set to yes after filling datawindow object with data i need to get dw bands heights so that i can resize the dw control on the window so is ther any way i can do so

i tried using height value of header band and column height value but they return the design values to dynamic values

PB version 12.6

thanks in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 02, 2017 at 06:46 AM

    I don't know a way to get the current height of a band with autosize option.

    But you can try to use the "Datawindow.VerticalScrollMaximum" and "Datawindow.VerticalScrollPosition" values (use the Describe function) to adjust the height of the dw control.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 09, 2017 at 09:50 AM

    I do not know if I understand what you want to do, see if this can help you: Bandname.property

    Add comment
    10|10000 characters needed characters exceeded