Solved

Hide Min/Max button in Access 2003 forms

Posted on 2007-11-26
3
851 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
ID: 20349164
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
ID: 20349296
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
ID: 20355444
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
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…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

919 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

22 Experts available now in Live!

Get 1:1 Help Now