Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
F5 getting the wrong inkey() value
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01455965
Message ID:
01456021
Views:
61
Hi Sergey,

>You've correct code in nKeyCode variable. The LASTKEY() will be updated after .keypress() completes.

Are the any other conditions that must be fulfilled for this to happen? I'm asking, because I've never seen LASTKEY() have a different value in the KeyPress event that I would expect. It certainly doesn't when I copy and paste the code from the OP into a sample form. I get -4 for both variables.
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform