Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shortcut keys in menus
Message
De
17/11/2005 18:58:08
 
 
À
17/11/2005 18:46:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Divers
Thread ID:
01068891
Message ID:
01070025
Vues:
18
Well, yes, this is happening when I've brought up a form in which I run Do MyMenu.MPR (I forget the extension) and I'w waiting at a READ EVENTS.

So, I changed the PRG temporarily not to stop at READ EVENTS, and found that Function Keys F2, F3, F4, and F5 yielded results -1, -2, -3, and -4, which look correct to me.

>That's usually an indication that some program is still running and you're stuck at a READ EVENTS. Try using the program menu and choose "Cancel" from there. Then try the Command Window again.
>
>
>>I have not been trying it in the EXE, only IDE.
>>
>>I can indeed get to the command window. However, any time I press [Enter] there it's ignored.
>>
>>>Wait a minute, I must be missing something. Are you ONLY having this problem in an .EXE, or are you having it in the IDE, too?
>>>
>>>If you're in the IDE, you should be able to get to the Command Window to try it. If you're in an .EXE, then yes, there is no Command Window.
>>>
>>>
>>>
>>>
>>>>Yup, I do .... although I can't get to the command window,
>>>>
>>>>>Ok, how about if you do ?INKEY(0) from the Command Window? Do you see the proper codes that correspond to the help for INKEY()?
>>>>>
>>>>>>No, that neither.
>>>>>>
>>>>>>Makes me wonder what strange things I've done ...
>>>>>>
>>>>>>>>no, that tain't it.
>>>>>>>>
>>>>>>>>I note that if I have "ON KEY Label" statements, the function keys work; if I comment out those lines, I can't get the function keys to work.
>>>>>>>>
>>>>>>>>>>Bernard --
>>>>>>>>>>
>>>>>>>>>>Since none of my keyboard shortcuts are working, I tried your #2 first. I put "clear macros" immediately before DO MyMenu.MPR. No changee; function keys still have no effect.
>>>>>>>>>>
>>>>>>>>>>Any other suggestions?
>>>>>>>>>
>>>>>>>>>You don't have one of those keyboards with that stupid "F-lock" key, do you? If there was ever anybody that should be tortured, it was the perpetrator of that!
>>>>>>>
>>>>>>>How about if you do PUSH KEY CLEAR?
Jim Nelson
Newbury Park, CA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform