Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
F10 does not return nKeyCode
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01308859
Message ID:
01308880
Views:
17
This message has been marked as the solution to the initial question of the thread.
>>>What would cause F10 not to return a nKeyCode in a Text box (KeyPress)?
>>
>>F10 is standard Windows key to activate a menu, the same as ALT.
>
>Is there anyway to disable that in windows so it can be used in VFP?

You can use ON KEY LABEL or SET FUNCTION. For example,
* Generate CHR(155) On F10
SET FUNCTION F10 TO CHR(155)
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform