Results 1 to 4 of 4
  1. #1
    mcmcd99 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Nov 2016
    Posts
    65

    How to maximize without overtaking task bar

    Hello. I have a navigation form set to DoCmd.Maximize on load, but it overtakes the entire screen even the task bar. How do I make sure it only maximizes to a normal window max size, where they can still see the task bar at the bottom and change windows if need? (i know they can alt tab or use windows key, but my users aren't that computer literate)

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Is the form set to popup or modal?

    You can also set the size of the form using the DoCmd.MoveSize command in the on open event.

  3. #3
    mcmcd99 is offline Advanced Beginner
    Windows 10 Access 2016
    Join Date
    Nov 2016
    Posts
    65
    It is both popup and modal, so that it hides the design parts and all the stuff I don't want users to get into.
    What's the syntax for DoCmd.MoveSize ?? How do I set that properly if I try that way?

  4. #4
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    In the OnLoad event of the form, select Event Procedure, click on the three dots, and it will take you to the VBA editor. Then start typing DoCmd.MoveSize and the syntax will be displayed - something like top, left, ... can't remember. The settings are in twips and you need to experiment with the numbers. Such as 1000 for the top.

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

Similar Threads

  1. Maximize only one form
    By Joakim N in forum Programming
    Replies: 6
    Last Post: 02-27-2017, 04:00 PM
  2. Replies: 2
    Last Post: 06-24-2016, 05:46 PM
  3. How to always maximize form when visible?
    By newbieX in forum Programming
    Replies: 5
    Last Post: 05-18-2015, 03:49 PM
  4. Maximize Switchboard and hide shutter bar
    By Huddle in forum Access
    Replies: 4
    Last Post: 02-27-2012, 08:04 AM
  5. maximize switchboard upon opening
    By zrawe16 in forum Access
    Replies: 4
    Last Post: 05-27-2011, 12:26 PM

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