On Monday, October 25, 2010 07:11:55 pm Ed Leafe wrote:
>       While testing out a few things, I tried to bind an action to the '@' key
> in a textbox, but when I tried typing it, the character appeared normally
> and the action was not called. Digging into things, it turns out that the
> correct keyCode (64) was being bound, but when it was typed in the
> control, the keyCode that was being processed was 50 (i.e., the number 2).
> So in a way the processing makes sense: I pressed the '2' key and also the
> Shift key, but it makes binding shifted characters impossible.
> 
>       Any ideas?
> 
> 
> -- Ed Leafe
Just bind to a routine that checks all key stokes and look for the 
wx.WXK_SHIFT.  Of course that's not what you are looking for was it?
Johnf

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to