Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sub-menu at right click on form
Message
De
04/01/2001 11:43:28
 
 
À
04/01/2001 08:03:47
Ashish Patel
Hindustan Petroleum
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00459270
Message ID:
00459395
Vues:
22
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform