Open form as a popup

abhiutd

Registered User.
Local time
Today, 13:17
Joined
Jul 28, 2008
Messages
48
Hi,
I am opening a form like on a button click using "DoCmd.OpenForm" method but i would like to open the same form as a popup and set the width,height,location co-ordiantes of the form. Is it doable?

Thank You.
 
Yes, follow the steps below:

1) open form in design view.
2) On the menu, select Edit, then Select Form.
3) Then select View, Properties.
4) A window should pop up, under the Format tab, the properties for width, Border Style, Auto Center/Resize, Moveable etc can be changed. Pressing F1 when you click on any of these will bring up the help page for that control.
 
Thanks. But how can i have it as a pop-up so i can still see my main menu form(from where this was opened) in the background?
 
Ensure the Auto Centre attribute is set to No. In design mode, you should then be able to place the pop up form where you want it. When you close the form, it should re-open in the location where you last saved it.

I am assuming here that you are opening your pop-up form by a button on your main menu form, and you want both forms visible, ie not overlapping. Please correct me if I've misunderstood.
 

Users who are viewing this thread

Back
Top Bottom