cancel
Showing results for 
Search instead for 
Did you mean: 

increase line height

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

vaibhav_tiwari
Contributor
0 Kudos

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.

Former Member
0 Kudos

Hello Vaibhav,

what would be the value of $.h here?

what is Line1.h = $.h

thanks

Dan

Former Member
0 Kudos

Hi,

I am not getting the result. Do i need to do any form settings like Top to Bottom or ..etc?

pls suggest.

Thanks

Dan

vaibhav_tiwari
Contributor
0 Kudos

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.

Answers (0)