Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding/controlling designer made menus
Message
From
26/10/2004 16:15:02
 
 
To
26/10/2004 10:26:08
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows '98
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00954538
Message ID:
00954680
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform