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 10:18:36
 
 
À
02/05/1997 10:01:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00030583
Message ID:
00030622
Vues:
60
>>>>>>>>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. ?
>>>>>
>>>>>Disable whole menu? That's interesting idea. The normal way is to remove menu temporarily using PUSH MENU, SET SYSMENU TO, POP MENU.
>>>>
>>>>All I want to do is to GRAY OUT a menu option...?
>>>
>>>To gray out a menu option you should follow my first reply. If you want to disable many option you should do this many times.
>>
>>That option must be in vfp30 and not vfp50, because I can not find it..
>>I am using vfp50...
>
>This is the oldest Fox feature and definitily in 5.0 menu designer (just take time to look at Menu Designer carefully)- 'Options' button on right side of Menu Items List.


thanks On right side of Menu Items List it says:
1. Menu level
a) Menu Bar
2. Item
a) Insert
b) Insert Bar...
c) Delete
3. Preview
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform