I have two text items on a data band. One is a long text, and is set to word wrap and grow to fit the text. The other is a simple text that needs to be aligned to the bottom of the first. So the appearance is like:
xxxxxxxxxx
xxxxxxxxxx
xxxxxxxxxx yyyy
Now, there is automatic growth in all sorts of ways, but none that seems to fit. With the alignment of the second to bottom and set to grow to height, it does not align nicely.
I therefore thought I would code this, so I have tried to get this to work:
TextSecond.Top = TextFirst.Top + TextFirst.Height - TextSecond.Height;
However, no matter which event I put it in, it always ends up aligned at the top of the first. It seems as though the height of the first is not updated at the point of the events. Could you point me in the right direction please? (If there is an order dependency, please let me know how to specify the ordering, as I cannot see anything obvious other than the front/back mode.)
My ideal would be a shift mode that specified to move the component top and not grow, but this only appears possible if the top is below the first.
Shifting text down
Re: Shifting text down
Hello,
Please try to use the ChildBand for the second text component. If the issue still present, please send us a simple report for analysis.
Thank you.
Please try to use the ChildBand for the second text component. If the issue still present, please send us a simple report for analysis.
Thank you.
Re: Shifting text down
Thanks. I've read up on the child bands, and it won't do what is needed, because I want them on the same visual line across the page.
I happen to have sent you a sample related to another thing just the other day. See case 3143272 and item.desc and item.qty. The idea is to have the quantity and total align to the bottom of the text, and not the top.
I happen to have sent you a sample related to another thing just the other day. See case 3143272 and item.desc and item.qty. The idea is to have the quantity and total align to the bottom of the text, and not the top.
Re: Shifting text down
Hello,
Ok. Thank you.
We will reply to you by email.
Thank you.
Ok. Thank you.
We will reply to you by email.
Thank you.