On Apr 11, 2007, at 10:15 AM, <[EMAIL PROTECTED]> wrote:
> I've discovered that the evt.keyChar is not reliable because of the
> issue
> noted below (back arrow shows as '%' to keyChar, etc). To correct,
> I am
> also checking the evt.keyCode i.e....
evt.keyChar is only defined if the key actually corresponds to a
character. For things such as function keys, arrow keys, and most
unicode characters, the value will be None. You can check any of
these other attributes to determine what was pressed: evt.keyCode,
evt.rawKeyCode, evt.unicodeChar, evt.unicodeKey. Depending on the
situation, one or more of these may be useful.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]