Connecting Tech Pros Worldwide Forums | Help | Site Map

Custom Context Sensitive Menus within MS Access

Keith Hutchison
Guest
 
Posts: n/a
#1: Feb 20 '07
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


Rick Brandt
Guest
 
Posts: n/a
#2: Feb 20 '07

re: Custom Context Sensitive Menus within MS Access


Keith Hutchison wrote:
Quote:
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


Albert D. Kallal
Guest
 
Posts: n/a
#3: Feb 21 '07

re: Custom Context Sensitive Menus within MS Access


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
pleaseNOOSpamKallal@msn.com


Closed Thread