On Oct 7, 2006, at 11:08 AM, Lars Jensen wrote:
Make a new project and put this into the KeyDown event of Window1:
msgbox str(asc(key))
But the intent of your question isn't clear, since some keys don't
map to characters and thus don't have associated ASCII codes.
(Shift, for example.) Also, many characters in non-US keyboard
mappings aren't represented by ASCII codes.
If the text is in UTF-8 (which I believe the KeyDown is) then it
would display the unicode value which is the same as UTF-16. So this
should include all valid Unicode characters.
_______________________________________________
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>