Controll a forms height

J

Josh

I currently use a command button to open and close sub forms. if I would
like to adjust the height of the main form what property to I need to
adjust. I cant seem to find height I see width but no where to set the
height.

TIA
Josh
 
F

fredg

I currently use a command button to open and close sub forms. if I would
like to adjust the height of the main form what property to I need to
adjust. I cant seem to find height I see width but no where to set the
height.

TIA
Josh

Look up the MoveSize method in Access Help:
DoCmd.MoveSize Left, Top, Width, Height

Just remember that all measurements are in Twips, 1440 per inch, so a
form height of 2 inches is
DoCmd.MoveSize , , , 2 * 1440.
 

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

Similar Threads


Top