On 3/29/05 11:49 AM, "Björn Eiríksson" <bjorn at einhugur dot com> wrote:
>> 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...
>
> Thanks for the explanation.
>
> I expect this one probably should have been in the KeyCode parameter
> which is always returning zero in Windows.
Yeah, that's a bug we need to fix. Hopefully this will fix more of people's
code than break it... But I suppose if you're using an older version of RB,
you could always check the KeyCode, and if it's 0 then rely on the broken
behavior. As far as I know, a KeyCode cannot be 0, on Windows anyway.
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>
|