Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GENMENUX 3.0c
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
GENMENUX 3.0c
Divers
Thread ID:
00647745
Message ID:
00647745
Vues:
50
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform