Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling menu items
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00489077
Message ID:
00489101
Vues:
12
My regular menu has 'skip for not llDisOpt' in Prompt OPtion and iPicOption(prompt()) in menu option. My regular code looks like:

do mainmenu.mpr &&read events
PROC iPicOption(u_menuact)
u_menuact = UPPER(alltr(u_menuact))
keyboard "{ENTER}"
inkey()
llDisOpt=.f.
do CASE
*----------------Data Entry
CASE u_menuact ="STATION DETAILS"
do stadet.app
.........
ENDCASE
llDisOpt=.t.
u_menuact=""
ENDPROC
>>>>>>>>>>>>>>previous messages below

At what point . . . ?

>I use keyboard "{ENTER}" to avoid this.
>
>>>>>>>>>>>>>>.your message below
>In my application I disable certain menu items depending on what the user is currently doing. I am able to do disable and enable the menu items just fine - however, after the menu items in question are 're-enabled' - they still appear not to be because they are still 'greyed-out' (i.e. they still appear to be disabled). Only when the user clicks anywhere on the menu bar do the menu items go from grey to black. Any ideas on what I should be looking at to correct this?
>
>Thanks, Al
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform