Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GENMENUX Capabilities
Message
De
18/03/2007 02:53:21
Aman Bains
Jaguar Computers
Jalandhar, Inde
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01205010
Message ID:
01205151
Vues:
16
>I am trying to enable, disable a menu item without having to exit and re-execute the menu. I have created an appObject oApp.lExistsData which if true allows the menu items to appear, but if false, certain menu items will disappear. I am not sure how to proceed now. I changed the value of the object oApp.lExistsData to TRUE once I had generated data, and thought that this would allow the menu items to now appear, but do you have to re-call the menu or re-execute it?

Yes, you need to re-execute the .mpr file. As released bars cannot re-appear unless specific code is written to handle the changing bars. It is more economical to run the .mpr again than to erite special code to handle changing menu options, both in terms of performance & effort.
Aman
-------
Lets fly away to the Land where there is Love & Peace
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform