By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,209 Members | 1,100 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,209 IT Pros & Developers. It's quick & easy.

Custom Context Sensitive Menus within MS Access

P: n/a
G'day

Is it possible to do custom context sensitive menus within MS Access.
If yes, does anyone have a sample example?

Thanks in advance

Keith

Feb 20 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Keith Hutchison wrote:
G'day

Is it possible to do custom context sensitive menus within MS Access.
If yes, does anyone have a sample example?

Thanks in advance

Keith
Just create a new menu and then change the type to Popup. Then you can set the
name of the new menu as the shortcut menu on a form or on a control.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Feb 20 '07 #2

P: n/a
yes, have a sample...read on....

You most certainly can, and should hide all of the ms-access interface. The
options to complete hide and keep people out of the ms-access interface can
easily be done using the tools->start-up options. Using those options allows
you to complete hide the ms-access interface (tool bars, database window
etc). Also, using these options means you
do not have to bother setting up security.

Try downloading and running the 3rd example at my following web site that
shows a hidden ms-access interface, and NO CODE is required to do
this....but just some settings in the start-up.

Check out:

http://www.members.shaw.ca/AlbertKal...s/DownLoad.htm

After you try the application, you can exit, and then re-load the
application, but hold down the shift key to by-pass the start-up options.

Notice how the menu bar changes when you load a different form (again, this
does not require code).
(and, the right click context menu has been designed to mimic the menu
bars). Also, note that the menu bars were originally buttons
on the form...and those also remain in tact (the custom menu bar calls same
vb code behind the buttons)

If want, you can even disable the shift key by pass. I have a sample mdb
file that will let you "set" the shift key bypass on any application you
want. You can get this at:

http://www.members.shaw.ca/AlbertKal.../msaccess.html

Some more examples screen shots and hints as to how I use menus can be found
here:
http://www.members.shaw.ca/AlbertKal...erFriendly.htm
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
Feb 21 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.