Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a menu by RightClick
Message
De
18/11/1998 15:26:03
 
 
À
18/11/1998 14:11:59
Noman Aftab
Embry-Riddle Aeronautical University
Daytona Beach, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00158932
Message ID:
00158974
Vues:
15
Noman:

If you are using VFP 6.0, it is possible to add Setup and Cleanup code to a popup menu. I have popup menus that are activated by a Rightclick. The Setup section creates a Public variable that is an Object, assigns the parameter that I pass in to the Public Variable and I use various methods and properties associated with the object. In the Cleanup, I set the Public variable to .NULL. and release the variable.

To be able to add Setup/Cleanup items, add a new menu or edit an existing menu item. The VFP menu includes an option under View name General Options. Select this item. You'll see checkboxes for Setup and Cleanup. If you check them, you can add code the the editbox on the screen.


NOTE: This feature is NOT available in 5.0a.

HTH
Mike
Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform