• Resized Form

    • This topic has 2 replies, 2 voices, and was last updated 24 years ago.
    Author
    Topic
    #355528

    I include DoCmd.Maximize in all my forms and it works just great — except when I return to my Main form from another form. The Main form then has an offset to the left and down a bit. Is there some way to make sure it fills the screen properly when returning from another form? Of course, the Maximize doesn’t get executed again, as the Main form is already open.

    Viewing 0 reply threads
    Author
    Replies
    • #524582

      Sounds like you have placed the code on the OnOpen Event property. Have you tried placing DoCmd.Maximize on the OnActivate Event property for the form as well? I believe the Activate event occurs when a form receives the focus and becomes the active window.

    Viewing 0 reply threads
    Reply To: Resized Form

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: