Results 1 to 4 of 4
  1. #1
    5 Star Lounger
    Join Date
    Oct 2001
    Location
    San Bernardino, California, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Distributing controls evenly on a form (XP, 2000)

    I find that I spend way too much time trying to make fields line up and be evenly spaced on forms. Is there any easy or fast way to do this? I frequently have forms that may have 27 fields in a "3 columns, 9 rows" configuration. However, it is tough getting the nine fields in each column to distribute evenly so they have the same amount of space between them vertically.

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Distributing controls evenly on a form (XP, 2000)

    Just select all the controls in a column (easiest way is to hold down the mouse and drag it over all those controls). Then from Menu bar select: Format | Vertical Spacing | Make Equal.
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  3. #3
    5 Star Lounger
    Join Date
    Oct 2001
    Location
    San Bernardino, California, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Distributing controls evenly on a form (XP, 2000)

    Beautiful! Thanks. I didn't even know that menu item existed.

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Distributing controls evenly on a form (XP, 2000)

    Method 1:
    - Place a control on the form.
    - Select Edit | Duplicate.
    - Repeat until you have nine controls.
    - Select the nine controls, copy and paste them, and drag the pasted controls to the desired location.

    Method 2:
    - Place nine controls below each other.
    - Select the nine controls.
    - Select Format | Vertical Spacing | Make Equal.

Posting Permissions

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