Re: How to Align a sub form within a main form? (190 Views)
Reply
Regular Advisor
Posts: 124
Registered: ‎01-07-2013
Message 1 of 3 (219 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.

Trusted Contributor
Posts: 43
Registered: ‎10-21-2011
Message 2 of 3 (190 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

Honored Contributor
Posts: 3,717
Registered: ‎07-13-2007
Message 3 of 3 (188 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...
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.