A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Minimize & Maximize in a Form/Module



 
 
Thread Tools Display Modes
  #1  
Old July 29th, 2004, 06:07 PM
external usenet poster
 
Posts: n/a
Default 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  
Old July 29th, 2004, 11:17 PM
Reggie
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 02:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.