The controls location change in form view

Karim Vazirinejad 186 Reputation points
2021-04-06T08:48:07.597+00:00

Sometimes I design a form in Access and carefully arrange the controls in correct position when I change the view to form view, some controls locations change and overlap each other. I don't know why?

84824-001.png

84805-002.png

Microsoft 365 and Office | Access | Development
Developer technologies | Visual Basic for Applications
0 comments No comments
{count} votes

Answer accepted by question author
  1. Albert Kallal 5,591 Reputation points
    2021-04-10T18:47:15.407+00:00

    One other thing to check?
    It is what we call control anchoring.

    This feature can be put to good use. So if you anchoring controls say right bottom, then a form can re-size and MOVE the buttons based on form size:

    eg:
    86486-ridessize1.png

    Now, make the form larger, and we get this:

    86466-ridessize2.png

    I did not change the "resolution", but notice how the controls shifted and moved?

    You do this with control anchoring. This option on the ribbon:

    86534-image.png

    so check the control anchoring. If you used anything but top left, then the control can and will shift when you view the form in "view" mode. As noted, often we WANT this to occur, but of course many a time we do not. So check the control anchoring - that could be the issue here.

    Regards,
    Albert D. Kallal (Access MVP 2003-2017)
    Edmonton, Alberta Canada

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Tom van Stiphout 40,086 Reputation points MVP Volunteer Moderator
    2021-04-06T15:24:00.49+00:00

    Could be several reasons. Maybe you have a Layout Grid around your controls - see Arrange tab.

    I set my gridlines WAY smaller (24 * 24) and remove any Layout Grid that might be there; then I size to grid and align to grid, and that keeps it very stable.

    0 comments No comments

  2. Karim Vazirinejad 186 Reputation points
    2021-04-13T08:16:58.08+00:00

    Dear Mr.Kallal,

    Thanks a lot for your detailed and complete reply. I checked it and it was exactly the reason.

    Best Regards

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.