Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    513

    form's jumping around (?)

    I've got a form that I open acNormal. On accasion, in the course of working on the form... it repaints, intentianally closes and re-opens, <etc.>, nothing unusual ...


    The problem is that sometimes it is opening maximized, sometimes not, it sort of jumps about (not much, just enough to be naticable, and to be annoying).

    I've checked the code, and every time I call an open form event for this form, it is acNormal; I just don't know where else to look.

    Any suggesntions will be greatly appreciated in advance,
    mark

  2. #2
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Not really following your scenario, but a Form will open Maximized when the previously opened Form is Maximized.

    Linq ;0)>

  3. #3
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    513
    do you mean to say that when this specific form was last opened, or are you referring to the state of the last formed open before this one (whatever form that might be, quite possibly a different form than the one is discussion)?

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Yes, the state of the last Form opened before the problematic one. In the Form_Load event of the problem Form you could use this code:

    DoCmd.Restore

    that will tell the problem Form to go back to size it was developed at. The caveat, though, is that any previously opened Forms that are still open will also revert to their designed size...even if they were opened Maximized!

    Linq ;0)>

  5. #5
    Join Date
    Jul 2010
    Location
    Fire Island Pines, NY
    Posts
    513
    this is realy insight ful information .... thanks !

  6. #6
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Glad we could help!

    Linq ;0)>

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

Similar Threads

  1. Replies: 2
    Last Post: 07-14-2014, 08:59 AM
  2. Replies: 4
    Last Post: 03-28-2014, 12:38 PM
  3. Jumping to a specific field in a form
    By JustAnElf in forum Forms
    Replies: 3
    Last Post: 11-06-2013, 11:54 AM
  4. Stop Form Jumping on Startup
    By mapline in forum Programming
    Replies: 9
    Last Post: 05-21-2011, 08:31 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