Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GENMENUX Capabilities
Message
From
18/03/2007 02:53:21
Aman Bains
Jaguar Computers
Jalandhar, India
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01205010
Message ID:
01205151
Views:
18
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform