Re: How to Align a sub form within a main form? (142 Views)
Reply
Frequent Advisor
abhin88
Posts: 82
Registered: ‎01-07-2013
Message 1 of 3 (171 Views)

How to Align a sub form within a main form?

Hi Friends

 

I am stuck on how to align the sub form in the ess.sd.open main form. Any help will be appreciated. Kindly see the attachment.

Please use plain text.
Trusted Contributor
DanielPetrov
Posts: 43
Registered: ‎10-21-2011
Message 2 of 3 (142 Views)

Re: How to Align a sub form within a main form?

Hello,

 

You can use Grid Preview in Forms Designer.

 

Best Regards,

 

Daniel Petrov

Please use plain text.
Honored Contributor
John Stagaman
Posts: 3,319
Registered: ‎07-13-2007
Message 3 of 3 (140 Views)

Re: How to Align a sub form within a main form?

Make a note of the exact X.Y coordinates of the fields on the form.

 

As an example, let's say the Caption is at x=2 and is 38 units wide, and the text box is at x=40 and is 60 units wide.

When creating the subform, put your subfom caption and fields at the same positions and size them identically. When placing the subform on your main form, place it at the X=0 position. 

 

----------------------------------------------------
Kudos - what, where, how, and why
Want Good Answers? Ask Good Questions...
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation