Results 1 to 4 of 4
  1. #1
    perryc is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2019
    Posts
    122

    Popup not popup properly

    So, I have a few forms that I tried to avoid using Model. Sequence of login the Database:
    1. Login Form (once login, hide in the background; visible=false)
    2. It brings up the MainMenu (which is a popup form; if I make this a popup form, ALL subsequent forms that it opens has to be popup as well? Otherwise it will stay on top of the other? Well, I did that and for 90% of the time, they all behave, however, there is 10% of the time, I think when the network is slow, FE and BE database btw, the new form that the MainMenu is trying to bring up will stay behind the MainMenu. Why? And How to prevent that?)

    Thanks in advance,


    Perry

  2. #2
    perryc is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2019
    Posts
    122
    BTW, if I take away the popup from the form, then, the form opens in max windows size, which I don't want to. I just want it to open in its window size, the dimension of the form.

  3. #3
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,954
    Quote Originally Posted by perryc View Post
    BTW, if I take away the popup from the form, then, the form opens in max windows size, which I don't want to. I just want it to open in its window size, the dimension of the form.
    Change your Access Options settings to use Overlapping Windows rather than Tabbed Documents
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  4. #4
    essaytee's Avatar
    essaytee is offline Been around a while
    Windows 10 Access 2016
    Join Date
    Oct 2008
    Location
    Melbourne, Australia
    Posts
    27
    Quote Originally Posted by perryc View Post
    So, I have a few forms that I tried to avoid using Model. Sequence of login the Database:
    ...snip...
    2. It brings up the MainMenu (which is a popup form; if I make this a popup form, ALL subsequent forms that it opens has to be popup as well? Otherwise it will stay on top of the other? Well, I did that and for 90% of the time, they all behave, however, there is 10% of the time, I think when the network is slow, FE and BE database btw, the new form that the MainMenu is trying to bring up will stay behind the MainMenu. Why? And How to prevent that?)
    ...snip...
    I would consider 'Popup' forms as special cases and only to be used when really needed. Making all your forms popup hampers your coding abilities, two that come to mind are the Activate and Focus events of the forms. These events are not activated, so whatever code you place in there, will never be triggered. I can't see why you can't use normal forms, as they will appear on top, have the focus, and ready for any data navigation or manipulation required when first opened. If you click on another open form, that form will get the focus and ready for data navigation/manipulation. Isn't that the behaviour you want.

    Your other choice for forms and I usually apply this for the add/edit forms, open them in dialog mode, so no inadvertent clicking out of the form.

    To answer your question directly regarding a 'Popup' form opening up behind your menu form and you believe due to a slow network. All I can think of is before the form is opened/loaded users click on the menu form. So what happens is, the form is opened, is on top, but because of the inpatient mouse clicks the menu form comes to the top. Just guessing, not sure if that is possible.

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

Similar Threads

  1. Run Query without popup
    By Marceb in forum Queries
    Replies: 4
    Last Post: 01-02-2019, 10:54 AM
  2. Popup
    By DavidMcArthur in forum Forms
    Replies: 1
    Last Post: 06-03-2016, 04:35 AM
  3. Popup vba
    By stephenchan433 in forum Access
    Replies: 1
    Last Post: 12-09-2015, 10:55 AM
  4. Popup Should come before insert
    By waqas in forum Forms
    Replies: 1
    Last Post: 09-22-2011, 12:08 PM
  5. Popup form
    By triplee23 in forum Forms
    Replies: 1
    Last Post: 10-24-2010, 04:09 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