On 3/24/05 1:15 PM, "Björn Eiríksson" <bjorn at einhugur dot com> wrote:
> 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.
We're giving you the raw Virtual-Key code on Windows, so 46 is VK_DELETE.
I'm not sure that's what we should be doing though (at least not for the
charCode parameter), so that's not good...
Regards,
William Yu
william at realsoftware 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>
|