Results 1 to 3 of 3

Thread: Resized Form

  1. #1
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Resized Form

    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.

  2. #2
    3 Star Lounger
    Join Date
    Dec 2000
    Location
    USA
    Posts
    379
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Resized Form

    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.

  3. #3
    Bronze Lounger
    Join Date
    Feb 2001
    Location
    Escondido, California, USA
    Posts
    1,458
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Resized Form

    Thanks Thomas, On Activate does it! <img src=/S/joy.gif border=0 alt=joy width=23 height=23>

Posting Permissions

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