on 07-24-2008 12:38 AM
Hi Experts,
I have a subform and i had placed a vertical line. Now when the subform expands vertically in height i want the line also to get expanded (height).
Can anyone please suggestwhat to do.
thanks
Dan
Hi Dan,
Write the following script at the form:ready event of the subform if you want the expansion at the initialization of the form and if you want it to happen at any other event such as at the expansion of the form then write the script at the same event.
Line1.h = $.h
If there comes some error regarding position of the line you can also adjust that using the following scripts at the same event.
Line1.x = assign value such as $.x
Line1.y = assign value such as $.y
Hope it will solve your problem.
Regards,
Vaibhav Tiwari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dan,
Here $.h will return the height of the subform. You have to write this code in the initialize or form:ready event of the subform if you want the line size to be increased at initialization or else you have to write it at any other event at which you want it to be increased.
Regards,
Vaibhav Tiwari.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.