Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement