Form Height

  • Thread starter Thread starter tboggs25
  • Start date Start date
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!
 
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.
 
Back
Top