Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - How do you disable a menu from a program?
Message
De
02/05/1997 16:18:00
 
 
À
02/05/1997 09:24:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00030583
Message ID:
00030690
Vues:
33
>>>How do you disable or gray out a menu from within
>>>a program?
>>
>>Menu designer allows to 'Skip' item (actually disable it) depending on some variable value. So, the only thing you have to do is to change this variable in the program.
>thanks... I want to disable the whole menu. Can you mymenu.enable = .f. ?


Nope. You can't do MyMenu.Enable . Menus are not OOP. Just make the form modal and your menu will function how you want.

Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform