Can you remove the minimize & maximize buttons on a custom menu?

G

Guest

I have created a customized menu for my database. I do not want the user to
be able to use the minimize and maximize functions, but can't seem to be able
to remove the default icons on the "new menu".
 
R

Rick B

A menu does not have the buttons you mention. A menu is one of those
drop-downs that you get when you click on File or Edit.

What are you trying to accomplish?
 
G

Guest

If you go to Tools, Customize and create a new Toolbar, you can change its
properties from Toolbar to Menu Bar. When creating this Menu Bar, three
icons appear allowing the user to maximize, minimize or close. How do you
keep these off the newly created bar?
 
J

Jeff Conrad

in message:
If you go to Tools, Customize and create a new Toolbar, you can change its
properties from Toolbar to Menu Bar. When creating this Menu Bar, three
icons appear allowing the user to maximize, minimize or close. How do you
keep these off the newly created bar?

As Rick says these options do not normally appear on a menu bar. What
Access version are you using? I just tested your instructions on three different
Access versions and did not see those.

Wait a minute....!
Are you maximizing a form using the DoCmd.Maximize statement??
If so, then yes, you will see these buttons. It is not the menu bar's fault,
is the maximize statement in the form itself.

To have the best of both worlds with a *maximized* form and none of
those other buttons appear is to use the code found here:

http://www.mvps.org/access/api/api0022.htm

I use it all the time and it works great.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top