Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I create a content menu
Message
De
16/10/2000 11:09:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00429743
Message ID:
00429763
Vues:
14
>Can anyone direct me to information Or tell me how I would create a content menu when the user right clicks on an object.

Like Stephen said, or, there is an OO way too. The FFC has a _shortcut class in _menu.vcx which allows you to create, edit, and display a shortcut menu programmatically.

One little tip, since your menu can't use object refrences like THIS and THISFORM in it, to use them, do somethign like this:

private oThis, oThisform

oTHis = this
oThisform = thisform

oMenu.ShowMenu()


Now you can use oThis and oThisform in your menu.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform