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

Context Menu?

P: n/a
PW
Hi,

What is one and does Access 2003 have one? Or how would I create one?
I would like the user to be able to right-click on a form or a control
on a form and have a menu that offers to go to a reservation, client,
activity, etc.... maybe even print something.

Thanks,

-paulw
Jan 30 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
PW wrote:
Hi,

What is one and does Access 2003 have one? Or how would I create one?
I would like the user to be able to right-click on a form or a control
on a form and have a menu that offers to go to a reservation, client,
activity, etc.... maybe even print something.

Thanks,

-paulw
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can create right-click pop-up menus for each form/subform in your
application.

HOW
Right-click on the menu bar and select Customize...
A dialog box will appear.
Click the New button.
Add Access menu items, or create your own menu items (drag them from the
Command tab's Commands: box).
Under the Toolbars tab click Properties.
In the dialog box that appears select the name of the new toolbar in the
"Selected Toolbar" combo box.
To make it a popup menu select Popup in the Type combo box.
Close all the dialog boxes for creating the Pop up.
For the form you want this popup attached to go to the Other tab in the
form's Properties dialog box.
In the Shortcut Menu Bar combo box select the name of the just created
popup menu.
Save the form.

Now when you right click on the form the indicated pop up menu will
appear.
--
MGFoster:::mgf00 <atearthlink <decimal-pointnet
Oakland, CA (USA)
** Respond only to this newsgroup. I DO NOT respond to emails **

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBR6E6QYechKqOuFEgEQLbJQCg5zQj3WVxXqTyhCrqWNPHRZ R1btwAnjaI
cqtEMvhy7fGOHGW11qKl1OEC
=ihHc
-----END PGP SIGNATURE-----
Jan 31 '08 #2

P: n/a
PW
On Wed, 30 Jan 2008 19:02:30 -0800, MGFoster <me@privacy.comwrote:
>PW wrote:
>Hi,

What is one and does Access 2003 have one? Or how would I create one?
I would like the user to be able to right-click on a form or a control
on a form and have a menu that offers to go to a reservation, client,
activity, etc.... maybe even print something.

Thanks,

-paulw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can create right-click pop-up menus for each form/subform in your
application.

HOW
Right-click on the menu bar and select Customize...
A dialog box will appear.
Click the New button.
Add Access menu items, or create your own menu items (drag them from the
Command tab's Commands: box).
Under the Toolbars tab click Properties.
In the dialog box that appears select the name of the new toolbar in the
"Selected Toolbar" combo box.
To make it a popup menu select Popup in the Type combo box.
Close all the dialog boxes for creating the Pop up.
For the form you want this popup attached to go to the Other tab in the
form's Properties dialog box.
In the Shortcut Menu Bar combo box select the name of the just created
popup menu.
Save the form.

Now when you right click on the form the indicated pop up menu will
appear.
I totally forgot about that! Good stuff!

How do I:

- Edit that popup
- Filter the forms I open in the menu to variables selected in the
form (for instance, a reservation id)?

Thanks

-paulw
Jan 31 '08 #3

P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Edit the popup:
- Select the popup in the toolbar dialog box. Right-click on the menu
item you want to edit. From the popup menu select Properties. The next
dialog box contains all the properties you can edit for that menu item.

Filter the forms ... etc.:
- In the menu item's Properties dialog box there is the "On Action"
property. In that you can enter the name of a user defined FUNCTION
that will handle whatever you want that button to do. Hint: in the
function use the Screen.ActiveControl to see which control the user
clicked.
--
MGFoster:::mgf00 <atearthlink <decimal-pointnet
Oakland, CA (USA)
** Respond only to this newsgroup. I DO NOT respond to emails **

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBR6IzOoechKqOuFEgEQKnaACeNu9/jPpTxupVeiahvqu7TyF0UisAnidk
Z1th3SpSxYkIVe2SvserxNIg
=KafC
-----END PGP SIGNATURE-----
PW wrote:
On Wed, 30 Jan 2008 19:02:30 -0800, MGFoster <me@privacy.comwrote:
>PW wrote:
>>Hi,

What is one and does Access 2003 have one? Or how would I create one?
I would like the user to be able to right-click on a form or a control
on a form and have a menu that offers to go to a reservation, client,
activity, etc.... maybe even print something.

Thanks,

-paulw
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You can create right-click pop-up menus for each form/subform in your
application.

HOW
Right-click on the menu bar and select Customize...
A dialog box will appear.
Click the New button.
Add Access menu items, or create your own menu items (drag them from the
Command tab's Commands: box).
Under the Toolbars tab click Properties.
In the dialog box that appears select the name of the new toolbar in the
"Selected Toolbar" combo box.
To make it a popup menu select Popup in the Type combo box.
Close all the dialog boxes for creating the Pop up.
For the form you want this popup attached to go to the Other tab in the
form's Properties dialog box.
In the Shortcut Menu Bar combo box select the name of the just created
popup menu.
Save the form.

Now when you right click on the form the indicated pop up menu will
appear.

I totally forgot about that! Good stuff!

How do I:

- Edit that popup
- Filter the forms I open in the menu to variables selected in the
form (for instance, a reservation id)?

Thanks

-paulw
Jan 31 '08 #4

P: n/a
PW
On Thu, 31 Jan 2008 12:45:14 -0800, MGFoster <me@privacy.comwrote:
>-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Edit the popup:
- Select the popup in the toolbar dialog box. Right-click on the menu
item you want to edit. From the popup menu select Properties. The next
dialog box contains all the properties you can edit for that menu item.

Filter the forms ... etc.:
- In the menu item's Properties dialog box there is the "On Action"
property. In that you can enter the name of a user defined FUNCTION
that will handle whatever you want that button to do. Hint: in the
function use the Screen.ActiveControl to see which control the user
clicked.
I'll give it a go. Thanks! I can not figure out how to edit an
existing menu though, only how to create new ones.

-pw
Feb 1 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.