Allow temporarily use of right click

  • Thread starter Thread starter greeknl via AccessMonster.com
  • Start date Start date
G

greeknl via AccessMonster.com

I have made a databse in which I have disabled the right-click option.
However, I have a form which opens reports, and I want to temporarily allow
(only for the opened report) the right click option so the user can save and
print the report.

I have also no clue how to create a custom menu with only a few of the normal
right-click options

I hope my question is clear.
Thanks
 
greeknl via AccessMonster.com said:
I have made a databse in which I have disabled the right-click option.
However, I have a form which opens reports, and I want to temporarily allow
(only for the opened report) the right click option so the user can save and
print the report.

Create your own shortcut menu and set the form or control to use it. Both forms
and controls have a Shortcut menu property. You just set that to the name you
give your custom menu.
I have also no clue how to create a custom menu with only a few of the normal
right-click options

Create a new menu, set its Type to Popup and copy whatever you want from other
menus and toolbars using standard drag and drop (holding control key) methods.
Nothing to it really.
 
I have made a databse in which I have disabled the right-click option.
However, I have a form which opens reports, and I want to temporarily allow
(only for the opened report) the right click option so the user can save and
print the report.

When you say "disabled the right click option" do you mean you cleared the All Default Shortcut Menus option in the
Startup settings? If not, what exactly did you do?

You can add a custom popup menu and tell Access to show that menu when the user rightclicks in a form or report:

Right click on the menubar and select Customize, then click New and name your new popup.Click Properties and set Type to
Popup; set any other properties you desire here as well. Add your menuitems and then Close the Customize dialog.

Now open your form/report in Design view and set the Other tab in the Properties dialog, then select your popup menu in
the Shortcut Menu Bar setting.

Note that if you want to make changes to this popup, you'll need to select the Shortcut Menus option in the Toolbars tab
of the Customize dialog, then click the Custom dropdown ... you should see your popup menu listed there.

Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com
 
Thank you for your prompt replies.

Yes I disabled it a the startup option.
But then I disabled all options.

Now I tried and enabled the shortcut menus and it does exactly what I want. I
figured that it worked as I had set the shortcut menu option for all forms to
no.

Still one question though.
When I make a custom menu will it be stored in the database so when I move
the mdb file to another pc it will also work?
 
greeknl said:
Thank you for your prompt replies.

Yes I disabled it a the startup option.
But then I disabled all options.

Now I tried and enabled the shortcut menus and it does exactly what I
want. I figured that it worked as I had set the shortcut menu option
for all forms to no.

Still one question though.
When I make a custom menu will it be stored in the database so when I
move the mdb file to another pc it will also work?

Yes IF... you actually make a *new* one. Modifications to built in menus
and toolbars are local to your machine and show up in all files. New menus
are stored in the file. You will only see them in the file where they were
created and they will also be seen by other users if you send them a copy of
the file.
 
Thank you very much for you reply
Your help is much appreciated


Rick said:
Thank you for your prompt replies.
[quoted text clipped - 8 lines]
When I make a custom menu will it be stored in the database so when I
move the mdb file to another pc it will also work?

Yes IF... you actually make a *new* one. Modifications to built in menus
and toolbars are local to your machine and show up in all files. New menus
are stored in the file. You will only see them in the file where they were
created and they will also be seen by other users if you send them a copy of
the file.
 
Back
Top