Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2005

    Unanswered: How to change a form size using an event

    Hi guys,

    How do I make a form change its size when I press a command button. For example, I have a form that is set on Sizable, when I press a button, I want it to expand in size.
    The only true wisdom is in knowing you know nothing.

  2. #2
    Join Date
    Mar 2003
    The Bottom of The Barrel
    Provided Answers: 1
    Me.Height/Width = YourDesiredDimension
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  3. #3
    Join Date
    Feb 2004
    Chicago, IL
    I have a form that when you hit the Details button, the form expands and shows more textboxes. I use:

    Me.Detail.Height = 3.25 * 1440

    One thing to remember is the setting is in the number of Twips. So what I have programmed is the number of Inches times the number of Twips per inch.

  4. #4
    Join Date
    Nov 2003
    See Access Help with regards to the MoveSize method.

    DoCmd.MoveSize(Right, Down, Width, Height)

    Self Taught In ALL Environments.....And It Shows!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts