Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menu on a class
Message
De
09/08/2000 00:08:27
 
 
À
08/08/2000 09:32:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00402180
Message ID:
00402641
Vues:
11
Hi, I hope this will help you.

Attaching Shortcut Menus to Controls

Once you create and generate a shortcut menu, you can attach it to a control. Shortcut menus typically appear when a user right-clicks on a control. You can attach a shortcut menu to a particular control by entering a small amount of code in the right-click event of the control.

Select the control to which you want to attach the shortcut menu.


In the Properties window, choose the Methods tab and select Right Click Event.


In the code window, type DO menu.MPR, where menu is the name of the shortcut menu.

Note Be sure to use the .mpr extension when referencing shortcut menus.
- Ram.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform