Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using ON KEY LABEL in FORMS
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00156063
Message ID:
00156438
Views:
37
>Jim,
>I've ofen come across this issue and your answer semms to
>point in the right direction but??
>What is the nKey = -1 do??
>
>Thanks,
>Sandy

Sandy,

If you open the Keypress event code editing window you will see that there are parameters passed to it from VFP. One of them is nKey and it holds the key code for the key that was pressed.

If you look up INKEY() in the help file you will find a list of key codes, -1 is F2.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform