[EMAIL PROTECTED] wrote:
> Paul,
> 
> 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....
> 
> if (evt.keyCode in range(32,126)) and (evt.keyChar in
> """,./<>?;':"[]\\{}|[EMAIL PROTECTED]&*()-_=+"""):
>       evt.stop()

Thanks. This is an area that needs to be improved, but I'm not sure 
there's much we can (should) do. I guess different platforms send 
different information, because on Mac I'm not seeing arrow keys turning 
into "%" chars (I'm seeing None).

-- 
pkm ~ http://paulmcnett.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]

Reply via email to