Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SKIP FOR display problem
Message
De
12/05/2000 15:06:43
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
SKIP FOR display problem
Divers
Thread ID:
00369202
Message ID:
00369202
Vues:
60
Hello all!

I'm using VFP5, and I have several menu items (Add, Edit, Delete, etc.) in my menu. The SKIP FOR clause of those are something like:
!oTopLvl.gToolBar.cmdAdd.Enabled

My problem is that, visually, the SKIP FOR isn't respected. What I mean is that those menu pads are not enabled/disabled when they should. But the problem is only visual since, for example, if the Add pad should be disabled and I select the menu option, the code associated with the pad won't run. Next time I open the menu, it "refreshed" and is now disabled.

The reverse also works, except that I can't select the pad through the menu since it's disabled, but if I assign a keyboard shortcut to it and use that shortcut, the code runs and my pad is now "refreshed".

Now, I've tried this with VFP6 and it works fine, so I guess it's a VFP5 bug, but are there known workarounds?

The following KB article:
http://support.microsoft.com/support/kb/articles/Q114/2/74.asp
talks about Fox and VFox for Mac, but doesn't seem to apply to WinFox.

Thanks!
Sylvain Demers
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform