Matty
...the Myth Buster
- Local time
- Yesterday, 21:50
- Joined
- Jun 29, 2001
- Messages
- 396
I'm trying to speed up my database a bit my loading all the forms at startup and making them just visible/invisible instead of opening and closing forms all the time. So when my splash screen opens, I'm opening all the forms with a WindowMode of acHidden. When the splash screen closes, I open the Main form and maximize it.
The problem is when I make one of those pre-loaded forms visible, it doesn't open maximized. I was under the assumption that if one of the forms in the MDI is maximized, all forms are maximized. Does that only apply to visible forms, or forms that open AFTER that main form is maximized?
I've tried running a DoCmd.Maximize on the Activate event of all the forms, but I run into problems there too. The Activate event fires when I first load the form (hidden) but it doesn't stay hidden if it gets maximized via code.
Is there any way for me to pre-load my forms and have them appear maximized when I make them visible?
The problem is when I make one of those pre-loaded forms visible, it doesn't open maximized. I was under the assumption that if one of the forms in the MDI is maximized, all forms are maximized. Does that only apply to visible forms, or forms that open AFTER that main form is maximized?
I've tried running a DoCmd.Maximize on the Activate event of all the forms, but I run into problems there too. The Activate event fires when I first load the form (hidden) but it doesn't stay hidden if it gets maximized via code.
Is there any way for me to pre-load my forms and have them appear maximized when I make them visible?