Solved

Hide Min/Max button in Access 2003 forms

Posted on 2007-11-26
3
848 Views
Last Modified: 2013-11-29
I'm working on an Access 2003 database.  In the Form_Load of my forms i have a DoCmd.Maximize command.  I want the forms to maximize and not have any control box or min/max buttons.  The format settings are as follows:
Auto Resize - No
Auto Center - No
Control Box - No
Min Max Buttons - No
Close Button - No

In spite of these settings I still get a Min/Max button in the Access menu bar.  

How can i get rid of this?  There is also a Help field that is superfluous which says 'Type a question for help'.  If I could get rid of this it would be helpful as well.
0
Comment
Question by:irglebleeben
3 Comments
 
LVL 46

Expert Comment

by:tbsgadi
Comment Utility
Hi irglebleeben,

Maybe there's Code or a Macro that's changing the settings?

Good Luck!

Gary
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 500 total points
Comment Utility
Remove the question box like this;

Application.CommandBars.DisableAskAQuestionDropdown = True

This is an app-wide setting (i.e. this will cause the box to not show up in ANY Access app on that machine), so you may need to store that value when opening your app, then reset it when closed.

Not sure about the Min/Max buttons; perhaps these links may help:

http://www.mvps.org/access/api/api0057.htm
http://www.mvps.org/access/api/api0022.htm
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
Comment Utility
irglebleeben,

You can try this:

Border Style: Dialog
AutoCenter: Yes
ScrollBars: Nither
RecordSelector: No
And waaaaaaay down at the bottom of the Properties box…
Moveable: No

Now you have to adjust the form *Grid* dimension to just barely fit the screen.
Approximately 10.25in x 5.75in, for a screen resolution of 1024 x 768
(This allows for two toolbars on top)

On the Open and Activate events put:
    Docmd.Restore

What all this will do is *Restore* the form, (meaning not maximized or minimized.)

Since you resized the Form grid, the form will *almost* fit the screen. (Maximize tends to always show the Min/Max buttons)

Since you set Movable to NO, users can’t move the form around.
Hope this helps as well


JeffCoachman
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now