Results 1 to 4 of 4
  1. #1
    JonathanT is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2011
    Posts
    145

    Label and Control distance


    Is there a way to set the horizontal distance between a label and control besides dragging the anchor? I need to have a very specific distances between the two and I have a large number of labels/controls.
    Attached Thumbnails Attached Thumbnails Label.jpg  

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    if not already done, select all the labels, delete and then paste to disconnect them from the controls

    size and position the top label and control as required

    Then select all the labels and on the arrange tab, use the size/space tab to align and set width as required.

    Repeat for the other controls

  3. #3
    JonathanT is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Jan 2011
    Posts
    145
    Thanks CJ, that works. I was hoping there was a property I could set to define the distance between a control or label since the distance between the label and control will vary

  4. #4
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    not so far as I am aware - but you can write vba code to position controls as required - that can either be fired in the form open event, or you can use code to create your form with everything positioned as required. Whether it is worth it depends on you - probably not worthwhile for a one off alignment

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Calculating distance between 2 zip codes
    By crowegreg in forum Programming
    Replies: 7
    Last Post: 06-13-2016, 07:20 PM
  2. Replies: 1
    Last Post: 04-25-2014, 11:41 AM
  3. Google Distance Matrix API
    By rbiggs in forum Programming
    Replies: 2
    Last Post: 07-11-2011, 06:51 AM
  4. Multiple events per location Distance tables
    By flebber in forum Database Design
    Replies: 1
    Last Post: 03-13-2010, 08:48 PM
  5. Top 3 times for each distance
    By CraigBFG in forum Queries
    Replies: 0
    Last Post: 06-24-2009, 09:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums