Robin Dunn wrote:
Will Sadkin wrote:
> It doesn't appear that wxComboBoxes can be configured to process
> tab events, so the key events for WXK_TAB are never even seen
> by any EVT_KEY_DOWN routine you might register.
> (Unlike wxTE_PROCESS_TAB, there is no wxCB_PROCESS_TAB...)
>
> Is there anything I can do other than file a feature request and
> wait indefinitely for someone in the wxWindows development
> community to add this?I don't see anything in the code for TAB, although you could try the
wxWANTS_CHARS style and then you should get key_down events
for all the navigation keys.
Nope. Even if I add wxWANTS_CHARS to the style attribute of the
wxComboBox, I *still* never see the tab event; just a EVT_KILL_FOCUS
event. (At least under Python 2.2.2, wxPython2.4.0.2, MSW.)
Be sure to generate wxNavigationEvents when appropriate though...
As to this point: wouldn't calling event.Skip() from the EVT_KEY_DOWN
handler for all other keys "generate wxNavigationEvents when appropriate?"
/Will Sadkin
Parlance Corporation