Form's size and location

V

Victoria

I can set the form's width property, but where do I set its height. Also,
how do I set the form's location on the screen when it opens?

thanks
 
W

Wayne-I-M

Hi Victoria

I assume you are looking at some type of popup form.

To set the width
Open the form in deisng view and select the area "outside" the detail (the
grey area) and use Width row on the format column of the properties box

To set the height
Open the form in deisng view and select the area "inside" the detail (the
lighter area) and use Height row on the format column of the properties box

To set the position
Open the form in deisng view and select the area "outside" the detail (the
grey area) and ensure that Auto Resize and Auto Center both = No.
You could set the position the popup using code but a simple trick is to
close the form then open the Main Form and then your popup. Drag the popup
to where you want it then press Control and S. Close and reopen and you will
see the popup is where you left it.

Hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top