Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why are these menu bars disabled
Message
From
17/06/2011 16:10:34
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
To
17/06/2011 15:58:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01514978
Message ID:
01514982
Views:
64
>Attached is a screenshot of part of the PEM Editor form.
>
>You'll see that all of the Copy/Paste options are disabled (as they are in the VFP system menu as well).
>
>What gives? How do I get them enabled? The code for one of them (which I lifted from someplace of other) looks like this:
Define Bar _Med_paste Of EditContextMenu Prompt ccLOC_MENU_PASTE  ;
>	Skip For Skpbar ('_MEDIT', _Med_paste)						  ;
>	PictRes _Med_paste
>and the rest all look the same.

Does the problem persist if you exit VFP, then restart it? Another thing to try would be SET SYSMENU TO DEFAULT, then try again.

In the past I've had bugs while coding custom menus and they ended up screwing up various _med_* functions. In those cases I found either restarting VFP or issuing the SET SYSMENU command was the fastest way to get back to normal.

A SWAG, if the problem persists maybe it's from something stored in FOXUSER.*, you could try renaming them.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform