Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MAXIMIZE CUSTOM SWITCHBOARD AND KEEP IT MAXED

Status
Not open for further replies.

UberZoot

Technical User
May 31, 2003
29
0
0
US
Ladies and Gents,
I have created my own menu (switchboard) form for my dbase. I had the "On Open" event set to a macro with the command Maximize listed. This maxed the form on initial opening of the base. However, as I open forms from this menu's selections, the menu form itself "sizes down". How can I make this form open maxed and stay that way? Thanks very much.

UZ
 
If you are comfortable with VBA, you can do what I always do. On the "Load" event for the form use the following code.

Code:
'Maximizes frmMain when loaded
Private Sub Form_Load()
On Error GoTo Err_Form_Load

    DoCmd.Maximize
    
Exit_Form_Load:
    Exit Sub

Err_Form_Load:
    MsgBox Err.Description, vbCritical, Err.Number
    Resume Exit_Form_Load

End Sub

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top