on 09-25-2014 12:13 PM
Hi experts,
I have 2 subforms in my form, 1 with flowed layout and the other with positioned layout.
The one with the flowed layout can change in height depending on some conditions.
I need to assign the height of the flowed layout to the one with the positioned layout.
Is there any way of achieving this (ex. using JavaScript)?
Thanks in advance.
Kind regards,
Niels De Greef
I know that I can assign the height of a subform with this statement:
this.h = "1.0in";
But I'm unable to get the height of the first container.
Any idea how I can get the height value of a subform?
Thanks in advance for your reply.
Kind regards,
Niels
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Florian,
Thanks for your reply.
In the picture underneath you see the two subforms (A & B):
Container A is flowed and can change in height but container B is positioned and needs to have the same height then container A.
This is needed to draw borders around the boxes, so that the subforms are displayed like this:
So that the lines deviding "Qty" and "Unit" are there over the whole document.
Kind regards,
Niels
Hi Niels.
It's a bit of a workaround but I guess it will work:
Drow another table under the table in form B with the same size and amount of cells and with no header, this table will have no text in it, make it dynamic and dynamicly add rows to fit the hight of form A (number of rows in new tab = rows in A tab - Rows in B tab).
Now set all borders of cells of this table to show only the side borders - that will draw strait vertical lines.
For border in the bottom use the forms border.
Regards
Shai
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.