Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress how-to
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00402154
Message ID:
00402400
Views:
12
The only answer at this point seems to be that something else is intercepting F2 first. Do you have any OKL's (ON KEY LABEL's) in effect? Anything in your config.fpw? Are you running any third-party stuff that might do this without you knowing about it? It's got to be something like this - you've shown that the KeyPress code works in your form, and we know there's nothing special about F2 by itself.

>OK, here is the odd thing about this whole F2 key press event, by itself (-1) nothing happens. However, if I use the same code as previously written, but use the F2 + Shift (85), everything works great.
>
>So why isn't the F2 by itself not working? I placed the wait window, and it does not even fire or go into the keypress event when I hit F2 by itself. I do know that the f2 key is working, because it launches my picklist on another program that I am using.
>
>This makes no sense to me. Any other ideas, this will be my last question regarding this matter.
>
>Thanks again for all your help.
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Previous
Reply
Map
View

Click here to load this message in the networking platform