I'm pretty sure it's 3 and 13 on Windows. Enter on the main keyboard is 13, on the numeric key pad it's 3...at least on my keyboard. But, my keyboard is Mac/PC compatible...
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joseph J. Strout Sent: Friday, February 24, 2006 3:12 PM To: Getting Started Subject: Re: enter key (win) = return key (mac)? At 11:09 PM -0500 2/23/06, [EMAIL PROTECTED] wrote: >I have a shortcut in my app which does something if the user hits >return or shift+return on the mac and they work fine. However, in >windows, one of them works but not the other using the corresponding >enter key. Is there any trick here? I'm not sure exactly what you're seeing, but in case it helps: on the Mac, the Return and Enter keys are different; Return is Chr(13) and Enter is Chr(3). But on Windows, they are physically two different keys, but they generate the same key code. Both are called Enter, but (IIRC) they both generate Chr(13). HTH, - Joe -- Joseph J. Strout [EMAIL PROTECTED] _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
