Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INKEY() says: cap-U = shift-F2 ??!!
Message
From
02/07/1998 01:47:22
 
 
To
01/07/1998 22:56:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00113658
Message ID:
00113681
Views:
19
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform