Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GENMENUX 3.0c
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
GENMENUX 3.0c
Miscellaneous
Thread ID:
00647745
Message ID:
00647745
Views:
49
I have been trying to implement GenMenuX into a VFP 7.0 app, however, I am having a problem with it, as one might surmise.

If I name the Admin Pad, "admin", in the Pad Name block, (without the quotes) the menu program bombs and says no such variable, referring to "admin".

If I don't place "admin" into the Pad Name block, everything is okay, except my IF condition, as shown below, does not work. Without the PAD NAME of "admin", it will say RELEASE BAR 8 OF _msysmenu. Well, there is no BAR 8, if I also release the TOOLS PAD, which precedes the admin pad.

IF NOT (oApp.lAdmin = .T.)
RELEASE BAR _msm_tools OF _msysmenu
ENDIF


IF NOT (oApp.lAdmin = .T.)
RELEASE BAR admin OF _msysmenu
ENDIF

How do I either get the Menu Pad defined as "admin", or, well, heck, this is so weird, I am not sure how to ask the question I would ask.

How do I fix this doggone thing? <-- This is not considered cursing in Texas.
Next
Reply
Map
View

Click here to load this message in the networking platform