Solved

Hide Min/Max button in Access 2003 forms

Posted on 2007-11-26
3
864 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS Access, How to create variable 9 37
MS Access, hourly employee status 8 42
Error Sorting a calculated table field control 2 22
Hide shared folder for some users 2 27
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

756 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