Maximize form on load

mafhobb

Registered User.
Local time
Today, 06:43
Joined
Feb 28, 2006
Messages
1,249
I have some trouble getting a form to open maximized. This form is opening from a switchboard that is centered and not sizable. After clicking on a command button in the switchboard the form I am having trouble with opens in its own window, but I cannot get it to maximize automatically. I have been to every setting I know on the form properties but for some reason nothing seems to be able to get that form to open maximized.:confused:

Heeeeeeeeeeeeelp!!!!!

mafhobb
 
Use DoCmd.Maximize on the On Open event of the form

Code:
Private Sub Form_Open(Cancel As Integer)
    DoCmd.Maximize
End Sub
 
Have you tried DoCmd.Maximize in the OnOpen event of the form?
 
Sorry Cosmos - must have been typing my answer just as you posted yours!
 

Users who are viewing this thread

Back
Top Bottom