Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INKEY() says: cap-U = shift-F2 ??!!
Message
De
02/07/1998 01:47:22
 
 
À
01/07/1998 22:56:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00113658
Message ID:
00113681
Vues:
20
>I had the bright idea to use shift-F2, shift-F3 for a
>shortcut key in one of my forms (with KeyPreview, KeyPress,
>etc). Then I noticed that some of the letters that I
>typed had unexpected effects!!!
>
>Checking the Inkey() table we can see these values:
>
>shift-F1 84
>shift-F2 85
>shift-F3 86
>
>and
>
>T 84
>U 85
>V 86
>
>What were they thinking??
>
>Has anyone else run into this? Did you find a work-around?
>I'm about to abandon the shift-function-key concept. :-(
>
>Peter Robinson

Yep it's a dog isn't it.
If you're using menus you can create a menu item with the Shift+Function key shortcut and that works.
You can also programmatically define a popup (DEFINE POPUP) with those short cuts - there's a way of having the popup active, as far as the shortcut keys go, and not have it visible to the user. Perhaps someone else can jump in here with some help on that front.
HTH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform