Form Height

T

tboggs25

I have a large form that I use as a pop-up. I would like to control the size
of the form when it pops-up.

My current settings are:
Auto-Resize: Yes
Fit to Screen: Yes
Border Style: Sizable

If I take off Auto-Resize it fixes the height, but extends the width of my
form by aprox 2 inches. The fit to screen doesn't appear to change anything.

I would really just like to set the width and height of the form on the
pop-up and let the user use the vertical scroll bar.

How do I accomplish this? Thanks in advance!
 
F

fredg

I have a large form that I use as a pop-up. I would like to control the size
of the form when it pops-up.

My current settings are:
Auto-Resize: Yes
Fit to Screen: Yes
Border Style: Sizable

If I take off Auto-Resize it fixes the height, but extends the width of my
form by aprox 2 inches. The fit to screen doesn't appear to change anything.

I would really just like to set the width and height of the form on the
pop-up and let the user use the vertical scroll bar.

How do I accomplish this? Thanks in advance!

In VBA help, look up the MoveSize method.
You can place code in the forms Open event.
Note: All measurements are in Twips, 1440 per inch.
 

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