Feb 19, 2010 #1 myzani Programmer Joined Jan 20, 2010 Messages 10 Location PH hello guys, what is the nkeycode when you press enter key? thanks...
Feb 20, 2010 #2 Nifrabar Programmer Joined Mar 16, 2003 Messages 1,343 Location NL 13 -Bart Upvote 0 Downvote
Feb 20, 2010 #3 JRB-Bldr Programmer Joined May 17, 2001 Messages 3,281 Location 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 Joined Jan 10, 2003 Messages 17,516 Location 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 Joined Jan 20, 2010 Messages 10 Location PH thank you all... Upvote 0 Downvote
Feb 22, 2010 #6 craigber Programmer Joined May 5, 2003 Messages 1,092 Location 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