Posted 4 June 2024, 8:04 pm EST
Hi,
as title says, in the Detail section of a Section report (code-based) lay 2 textboxes containing multiline text. The strategy followed is to change the position of the textbox at the bottom, so it is placed right where the first one ends.
This was done in detail_Format event handler , the problem is the components return the default height (1 row height) at that time. I tried then to do this in the detail_BeforePrint event, the components have the correct height then, but setting the detail section height has no effect at that point, so there is a cut-off.
how to acomplish this? basically hwo to stack N components on top of each other and make its position to “flow” when the components height change due to it’s respective contents.
regards