Context Menu?

Context Menu?

am 30.01.2008 22:24:34 von 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

Re: Context Menu?

am 31.01.2008 04:02:30 von MGFoster

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 earthlink net
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/AwUBR6E6QYechKqOuFEgEQLbJQCg5zQj3WVxXqTyhCrqWNPHRZR1btwA njaI
cqtEMvhy7fGOHGW11qKl1OEC
=ihHc
-----END PGP SIGNATURE-----

Re: Context Menu?

am 31.01.2008 19:18:28 von PW

On Wed, 30 Jan 2008 19:02:30 -0800, MGFoster wrote:

>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

Re: Context Menu?

am 31.01.2008 21:45:14 von MGFoster

-----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 earthlink net
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/jPpTxupVeiahvqu7TyF0UisA nidk
Z1th3SpSxYkIVe2SvserxNIg
=KafC
-----END PGP SIGNATURE-----


PW wrote:
> On Wed, 30 Jan 2008 19:02:30 -0800, MGFoster wrote:
>
>> 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

Re: Context Menu?

am 01.02.2008 19:41:37 von PW

On Thu, 31 Jan 2008 12:45:14 -0800, MGFoster wrote:

>-----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