Good morning,
Just wondering if i can dynamically adjust the height of a subform to match another one?
I see theres examples out there to give the textbox.h a value, but i wonder if its doable on a subform??
Any ideas if it is??
Thx a bunch again
Solved! Go to Solution.
Views
Replies
Total Likes
Yes, it's simple. You can do with subform too as below:
form1.Page1.Subform1::initialize - (JavaScript, client)
this.h = "7in";
Yes, it's simple. You can do with subform too as below:
form1.Page1.Subform1::initialize - (JavaScript, client)
this.h = "7in";
hi again,
thx for the info, i can get it to work like you showed me. but im also having difficulties using it in other events, for example the "calculate" event.
I'm trying to fully automate this in the " calculate or on exit" even.
I want my textbox/subform to be the same height as textbox/subform 2.
For example::
box 1=1" box2=3"
calculate event
var tmp1=box2.height
this.h=tmp1
something like this, but im having a hard time making this work. It seems i cant capture the Height value properly of box2.
And i dont know if JS or formCalc is better, i cant get it to work well for now.
any idea of which language would work best and what the syntax could look like?
I have issues also incorporating the height value for example "3in" programmatically in code. the "" are troublesome.
Thx so much for any help on this one,
Patrick
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies