Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GENMENUX Capabilities
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
GENMENUX Capabilities
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01205010
Message ID:
01205010
Views:
55
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?

I hope I am explaining this clearly enough.

Here's the resulting code in the MPR file for the MENU:
IF NOT (oApp.lExistsData)
   RELEASE BAR 3 OF Programs
ENDIF


IF NOT (oApp.lExistsData)
   RELEASE BAR 4 OF Programs
ENDIF


IF NOT (oApp.lExistsData)
   RELEASE PAD Admin OF _MSYSMENU
ENDIF
Next
Reply
Map
View

Click here to load this message in the networking platform