Feb 19, 2010 #1 myzani Programmer Jan 20, 2010 10 PH hello guys, what is the nkeycode when you press enter key? thanks...
Feb 20, 2010 #3 JRB-Bldr Programmer May 17, 2001 3,281 US Go to an ASCII Chart website and use that as a reference. Something like: http://www.asciitable.com/ The Enter Key used to be called the Return Key because it issues a Carriage Return. And, like Mike says above, it is a Decimal 13. The InKey value for other keys will be their ASCII Decimal value. Good Luck, JRB-Bldr Upvote 0 Downvote
Go to an ASCII Chart website and use that as a reference. Something like: http://www.asciitable.com/ The Enter Key used to be called the Return Key because it issues a Carriage Return. And, like Mike says above, it is a Decimal 13. The InKey value for other keys will be their ASCII Decimal value. Good Luck, JRB-Bldr
Feb 21, 2010 #4 Mike Lewis Programmer Jan 10, 2003 17,516 Scotland The values are also listed in the INKEY() topic in the VFP Help file. Mike __________________________________ Mike Lewis (Edinburgh, Scotland) Visual FoxPro tips, advice, training, consultancy Custom software for your business Upvote 0 Downvote
The values are also listed in the INKEY() topic in the VFP Help file. Mike __________________________________ Mike Lewis (Edinburgh, Scotland) Visual FoxPro tips, advice, training, consultancy Custom software for your business
Feb 21, 2010 Thread starter #5 myzani Programmer Jan 20, 2010 10 PH thank you all... Upvote 0 Downvote
Feb 22, 2010 #6 craigber Programmer May 5, 2003 1,092 US Not all values are listed in INKEY(). But it's really, really easy to get the key code. Put ? INKEY(0) in the command window, press Enter, the the key you want. The key code will display on the VFP desktop. Craig Berntson MCSD, Visual FoxPro MVP, http://www.craigberntson.com/blog Upvote 0 Downvote
Not all values are listed in INKEY(). But it's really, really easy to get the key code. Put ? INKEY(0) in the command window, press Enter, the the key you want. The key code will display on the VFP desktop. Craig Berntson MCSD, Visual FoxPro MVP, http://www.craigberntson.com/blog