Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sub-menu at right click on form
Message
From
04/01/2001 11:43:28
 
 
To
04/01/2001 08:03:47
Ashish Patel
Hindustan Petroleum
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00459270
Message ID:
00459395
Views:
21
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform