Link to home
Start Free TrialLog in
Avatar of computerider
computerider

asked on

How To Disable Shortcut Menu on a Menu...

I have disabled the shortcut option on all my forms but I just noticed that if I right click on a MENU (custom or not) the shortcut menus for MENU appears (Clipboard, Form View, Web, Customize etc.) how do I disable that?
Avatar of twintai
twintai

Go to Tools>Startup

You will see a check box that allows you for shortcut menu. You can turn that off.

NOTE OF CAUTION: When changing the way a database starts up, some of the changes are rather permanent and can not be reversed once the database restarts. MAKE SURE TO MAKE A COPY of the database before making changes to the start up
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
"that if I right click on a MENU (custom or not) t"

Exactly where and what are you clicking on?

mx
Avatar of computerider

ASKER


I have a menu bar on each of my 5 forms...if I right click the mouse on a menu (not on the form portion) I get the standard shortcut menu for menus...

1.      Going to startup did not disable it
2.      Allow design changes only setting doesn’t stop it
3.      Disabling shortcut on the forms property setting

...I am guessing its because those setting apply to forms and the shortcut menu I am seeing is based on the MENU bar which doesn’t have a properties sheet to control it…


Tools -> Startup
Uncheck "Allow Toolbar/Menubar changes"
Note that this is a startup property, and will not take effect for the current session.  It will take effect the next time you open the database.
2 options at startup have been unchecked:
Allow Default Shortcut Menus
Allow Toolbar Menu Changes
 the menus shortcut menu still appears if you right click over a toolbar...
Did you close and reopen the database?

Also are you opening the database in design view?
no I have a custom menu form which opens at startup and I have set the properties to allow design changes set to design view only and I have a macro to hide all toolbars and display a custom menu...all works fine unless you right click over the menu bar
These changes should take effect when you close and restart the database (without holding down the shift key).  Although I have worked in secured environments which put limitations on the registry writes needed to set these options.  There would be no indication that it had failed... the changes just don't take place, and the startup options check boxes revert to their original states the next time the db is opened.  Is that possible in your case?
mbizup
You must be correct although I don't know how to definitively prove it but IF I hold down shift to open the database then for my entire session the shortcut menu appears…but if I open it otherwise the right click does nothing…
> IF I hold down shift to open the database then for my entire
This is what i mean by "opening the database in design view".  When you hold down the shift key, you area entering the database for development/design purposes.   You WILL get the shortcut menus (period).  AFAIK, there is nothing you can do about that --- and that is a good thing!

If you enter the database without the shift key, you are opening it as a regular user, who should not be able to edit your commandbar menus, etc.  This is where those properties are meant to apply.

Does that help?
ASKER CERTIFIED SOLUTION
Avatar of mbizup
mbizup
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial