Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why are these menu bars disabled
Message
De
17/06/2011 16:10:34
 
 
À
17/06/2011 15:58:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01514978
Message ID:
01514982
Vues:
65
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform