Controll a forms height

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