Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top-level menu hot keys
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00183042
Message ID:
00183092
Vues:
17
>>>>I have forgotten what has to be done to get a top-level menu's hot key assignments to work in a top-level form.
>>>
>>>You mean the shortcut key "\<" preceding the prompt? Should work automatically...
>>
>>No, I mean the hot key combination ( Alt-x, Alt-c, etc. ) you assign in the options dialog. These aren't firing automatically ... or am I missing something?
>
>By golly, you're correct, they don't work well at all. If I put F10, it goes to the File menu and doesn't execute the command. If I put Alt+F10, it asks me what macro I want to play :) Maybe it's going to the _screen menu - you could try shutting that off and see what happens...
>
>I've only used shortcuts thus far. Looks like you might need to work around this with ON KEY LABELor something, or stick with shortcuts...did you check the MS KB?

F10 and Alt-F10 are specific exceptions, because they have standard Windows interface meaning, which overrides about anything you try to do in Visual FoxPro except an ON KEY LABEL. In any Windows application that "follows the rules", F10 means activate the File menu. (or at least activate the first menu pad.) Try it in an MS-Office app (Excel or Word).

Most key-combinations I've put into a menu bar's "Options" worked fine.

HTH,
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform