Hi,

I have to use something like

Code:
[VB]DataReport2.Sections(1).Controls("line1").height = DataReport2.Sections(1).Controls("label1").height[/VB]
label1 it is bound
label1.canGrow = true

The problem is that i want to have the same height for line1 (it is vertical) but i don't know where to put the code to make it work when label1.canGrow is set to true.

So in conclusion the height of line1 must be identical to label1 height (when label 1 is showing more than 1 line)

Thank you.