General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only