View Full Version : Pop Up forms


NigelShaw
07-01-2008, 03:44 AM
Hi everyone.

i have 2 forms that load on startup.
form1 is just a background colour that fills the screen to hide the ribbon. form2 is the login form that either logs you in or boots you out.
i have set form 1 as popup and Auto Center to yes to make sure it cannot be closed and turned of min/max and close buttons ( the form is closed when login is successful ).

i set form2 as popup and also removed the buttons so the user is forced to login or close but what ever way i load the forms, the login form always goes behind the background form.
i set the background form (form1) to open on load and then, open the login form (form2) and set the focus to form 2 but it goes behind.

i also did the the other way round with form2 opening first but it still goes behind.

How can i open the background form full screen ( Auto Center = Yes ) and the login form in front? its v v frustrating at the minute.


kind regards,

nigel

Rich
07-01-2008, 04:05 AM
Set its PopUp and Modal properties to yes

NigelShaw
07-01-2008, 04:12 AM
Hi Rich,

ive done that already.

would i be setting the background form to popup only and the login form to popup and modal to yes?

Rich
07-01-2008, 04:35 AM
Add a button to the backround form that opens the log in form

tarcona
07-01-2008, 08:42 AM
I just did this to maximize my startup form.

On the OnOpen Event put:

DoCmd.Maximize

Worked for me.