471,355 Members | 1,587 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,355 software developers and data experts.

Custom Context Sensitive Menus within MS Access

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
2 2976
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
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.

Similar topics

3 posts views Thread by Eddie de Bear | last post: by
reply views Thread by ctyrrell | last post: by
4 posts views Thread by Karl Irvin | last post: by
6 posts views Thread by Bob | last post: by
reply views Thread by tony.spalding | last post: by
1 post views Thread by Jakob Lithner | last post: by
4 posts views Thread by Jordan S. | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.