Pop up forms and running as minimised

Locopete99

Registered User.
Local time
Yesterday, 19:55
Joined
Jul 11, 2016
Messages
163
Hi,

I'm having some issues using pop up forms and running them as minimised from a shortcut.

My database has been developed using access in Office 365proplus on windows 10.

My users are using it on a windows 7 virtual desktop, also using 365

I've set all forms to Pop up, I'm running it from a shortcut and running it as minimised and also I've used the code below on all my forms on Load:

Code:
Private Sub Form_Load()
Forms("FormName").Move 0, 0
End Sub

Firstly the main menu doesnt seem to load. When I run the shortcut all i get is the minimised icon, no pop up form and when I maximise the access programme there is no form loaded on there either. I have got frm_main1 set as my form to open when access is opened.

If i then run the shortcut as normal not minimised, frm_main1 loads, but I cant click any of my buttons.

To make sure it was running I then put in a msgbox to check its working and not only does the msgbox pop up but then all buttons start working!

Can anyone help as I'm running out of ideas.
 
I've set all forms to Pop up, I'm running it from a shortcut and running it as minimised
if u run access as minimized, I would doubt that any forms would show up on the screen, as they are objects inside the application.
I've used the code below on all my forms on Load:
Code:
Private Sub Form_Load()
Forms("FormName").Move 0, 0
End Sub
ur not specifying "height" and "width" arguments in ur MOVE action. perhaps that's why a form will not appear? I wonder if that code is just shrinking it to a size of 0 and putting it in the top left most area of the window (which is what "0, 0" does).
I have got frm_main1 set as my form to open when access is opened.
if access is running in a minimized state, I doubt a form spec'd to open when access opens will show up, cuz of reasons I just stated
To make sure it was running I then put in a msgbox to check its working and not only does the msgbox pop up but then all buttons start working!
perhaps that is because a msgbox has more authority in terms of its ability to get displayed on the screen than a form object when it is called? I don't know this for sure, but it would make sense.
 
What do you mean?
Do you want to load pop up form and hide access window?
Have you try
Do.cmd runcommand.accmdappminimize
On form load event?

Sent from my SM-A205F using Tapatalk
 
OK adding the height and width has got the main menu up, but now no buttons are working to open further forms. tried adding the height and width to all, but even my msgbox isn't popping up.
 
OK adding the height and width has got the main menu up, but now no buttons are working to open further forms. tried adding the height and width to all, but even my msgbox isn't popping up.
did u also try what samsul said? that might work. if neither of our recommendations work, upload ur file and we'll take a look. this is an unusual question me thinks.
 
I don't see that you can reliably set all forms as popup. Popup means always on top. I use popup forms very sparingly.

It might be that you aren't dealing with the last popup form with the focus in the appropriate way, and the message box serves to reset the focus to the "correct" form in some way. (probably to the form that issues the msgbox)
 

Users who are viewing this thread

Back
Top Bottom