Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling menu items
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00489077
Message ID:
00489101
Views:
13
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
Previous
Reply
Map
View

Click here to load this message in the networking platform