allowbypasskey not working in Access 2000 SP-3

D

David Moore

Hello all,

I have been working with this db for several weeks and thought I had the
allowbypasskey disabled. I put the DisableShiftKeyBypass code posted
elswhere in this group into a module and ran it and confirmed with a msgbox.
However, when I run the db and I hold the Shift key I can still get to the
entire Tools menu when it starts. If I then let go of the Shift key the menu
changes to the disabled menu as it should.

Something else happens and is a little strange. When I am holding down the
Shift key and the db starts it opens the startup form and one cmd button is
highlighted. If I select the View menu option and then Properties the props
for that cmd button show as if I am in the editor. Not sure if it is a
related problem or not.

TIA,
David Moore
 
D

Douglas J. Steele

Not sure what your setup is. The "AllowBypassKey" doesn't have anything to
do with the Tools menu. If you don't want people to get the Tools menu, you
need to replace that menu with your own custom menu.
 
D

david epsom dot com dot au

Yes, I think that is normal ??

Even when you don't hold down the shift key, the
default menu's are loaded, then the screen is updated.

When you do hold down the shift key, processing is
paused, so you can see this happening.

On the second question, if you don't want people
to use the View menu, you should not display it.
And you should probably have the form option
"Allow design changes" set to "Design View Only"

(david)
 

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