Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hiding/controlling designer made menus
Message
De
26/10/2004 16:15:02
 
 
À
26/10/2004 10:26:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows '98
Network:
Novell 6.x
Database:
Visual FoxPro
Divers
Thread ID:
00954538
Message ID:
00954680
Vues:
16
>The HIDE MENU ALL does not work with simple menu designer created menus. Is there any other way to control these kind of menus so when I pull up a subform, it doesn't allow the user to use the menu associated with the main form?
>
>If not, is there any easy way to convert the menus to code so that I may have the functionality these types have?

Hi Kevin,

Where is the menu located ? on VFP main menu or your main form ?
Anyway, I'm not sure why the "Hide Menu" command is not working. I use "DEACTIVATE MENU TheMenuName" to remove the menu (for VFP main menu you can also use "SET SYSMENU TO"). Use "SHOW MENU TheMenuName" to display it again.

You must know the name of the menu. Don't use the ALL clause, because it doesn't work either (I don't know why ?? )

Update:
Oops sorry. I didn't read carefully that you are using VFP8. I'm still using VFP7. Maybe DEACTIVATE MENU ALL is working on that version.

Regards
Herman
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform