Hi All,
In my project I got report that I would like to resize depending on sizes of some elements. Because one picture is worth more than 1000 words, here's the picture:

Selected textbox PONumber can contain just one 7-character PO number or 10 of them. Its Can Grow property is set to Yes and that works as expected. Now, let's have a look at another picture:

I would like selected "border" around all Supplier information to grow as well. But because it's just a rectangle, it doesn't have Can Grow property.
I tried to read PONumber.Height property @On Format event of report detail but it shows height BEFORE it grows - is it normal? How can I read its property when its grown already and set height of rectangle according to it?
Or is there other way (I bet there is...) to achieve that?
Thanks in advance
Edit: wrong attachments, sorry.
In my project I got report that I would like to resize depending on sizes of some elements. Because one picture is worth more than 1000 words, here's the picture:

Selected textbox PONumber can contain just one 7-character PO number or 10 of them. Its Can Grow property is set to Yes and that works as expected. Now, let's have a look at another picture:

I would like selected "border" around all Supplier information to grow as well. But because it's just a rectangle, it doesn't have Can Grow property.
I tried to read PONumber.Height property @On Format event of report detail but it shows height BEFORE it grows - is it normal? How can I read its property when its grown already and set height of rectangle according to it?
Or is there other way (I bet there is...) to achieve that?
Thanks in advance
Edit: wrong attachments, sorry.
Attachments
Last edited:
