Just to mention something the other posts left out, you may want to have access to some property on the form that is calling the shortcut menu.
In this case you have to call the menu with a reference to the form as the parameter.
- Create a shortcut menu (example: shortcut)
- On the rightclick method of the class: do shortcut.mpr with thisform
- When editing the menu go to "View/General Options/Setup" and add:
Parameter m.oForm
If you wanted to change the backcolor of the form to white from the shortcut menu, one of it's options could then be: m.oForm.BackColor = RGB(255,255,255)
Pedro Santos
=o)