If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Minimize & Maximize in a Form/Module
I have inherited a project management Access database.
In this database, there are forms or modules that come up as forms. My manager wants me to add Minimize and Maximize buttons on them. I thought it would be simple enough to go into the properties box and enable them, but when I do, they do not show up on the little forms. I found some code DOcmd.Minimize and Docmd.Maximize, but I don't know where to put it. Can anyone walk me through this? Thanks. |
#2
|
|||
|
|||
Minimize & Maximize in a Form/Module
Add to command buttons to you form and use the following code. I named my
command buttons as below. Private Sub cmdMax_Click() DoCmd.Maximize End Sub Private Sub cmdMin_Click() DoCmd.Restore End Sub -- Reggie ---------- wrote in message ... I have inherited a project management Access database. In this database, there are forms or modules that come up as forms. My manager wants me to add Minimize and Maximize buttons on them. I thought it would be simple enough to go into the properties box and enable them, but when I do, they do not show up on the little forms. I found some code DOcmd.Minimize and Docmd.Maximize, but I don't know where to put it. Can anyone walk me through this? Thanks. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Minimize a Word Document | anh2lua | General Discussion | 1 | June 18th, 2004 04:22 AM |
Maximize setting when opeing excel | rollingdan | General Discussion | 7 | June 15th, 2004 11:23 PM |
Want to automatically have email messages maximize | Jennifer | Outlook Express | 1 | June 1st, 2004 06:45 AM |