realbasic-plugins
[Top] [All Lists]

CharCode in KeyDown event on Windows systems

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: CharCode in KeyDown event on Windows systems
From: Björn Eiríksson <bjorn at einhugur dot com>
Date: Thu, 24 Mar 2005 19:15:16 +0000
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
Is there something I should be translating in the CharCode in the KeyDown events on Windows systems ?

I got this from a customer:
 

If I'm on a RB ListBox control and hit the delete key then: asc(key) = 127.
If I'm on a treeview control and hit the delete key then: charCode=46.
 
A 127 in my ASCII table is the DEL key.  I'd expect that.
A 46 in my ASCII table is the "." character.  Not expected.


--
______________________________________________________________________
Björn Eiríksson                            bjorn at einhugur dot com
Einhugur Software
http://www.einhugur.com/
______________________________________________________________________
Einhugur Software has sold its products in 43 countries world wide.
______________________________________________________________________
For support:                               support at einhugur dot com
To post on the maillist:                   einhugur at yahoogroups dot com
_______________________________________________
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>

<Prev in Thread] Current Thread [Next in Thread>