mimimze window

S

Slow Learner

Is there a DoCommand to minimize a window
I have this line
DoCmd.Close acForm, "SwitchBoard"
Which is fine for some forms but the Switchboard I want to minimize not close.
 
S

Slow Learner

Here is the code I have and what is happening is the command button when
clicked is minimizing the form I want it to bring up and not the form which
has the button on it.
 
J

John Vinson

Here is the code I have and what is happening is the command button when
clicked is minimizing the form I want it to bring up and not the form which
has the button on it.

Minimize and maximize are "all or nothing" operations. If you maximize
a form, it maximizes ALL your forms - similarly for minimize.

I'd suggest setting the Visible property of the form you want
concealed to False, and then back to True in the close event of the
form you're opening.

John W. Vinson[MVP]
Join the online Access Chats
Tuesday 11am EDT - Thursday 3:30pm EDT
http://community.compuserve.com/msdevapps
 
Top