Hello List,
how can I adapt the wx.TE_PROCESS_TAB behaviour of a wx.TextCtrl to a wx.ComboBox. Played a bit with subclassing wx.Combobox and binding a wx.EVT_NAVIGATION_KEY event but that don't work for me.
Thanks for your suggestions.
Jürgen
Hello List,
how can I adapt the wx.TE_PROCESS_TAB behaviour of a wx.TextCtrl to a wx.ComboBox. Played a bit with subclassing wx.Combobox and binding a wx.EVT_NAVIGATION_KEY event but that don't work for me.
Thanks for your suggestions.
Jürgen
Jürgen Kareta wrote:
Hello List,
how can I adapt the wx.TE_PROCESS_TAB behaviour of a wx.TextCtrl to a wx.ComboBox. Played a bit with subclassing wx.Combobox and binding a wx.EVT_NAVIGATION_KEY event but that don't work for me.
The navigation events go to the parent window, so you can probably catch it there. Otherwise if you're not able to catch the tab key in a EVT_KEY_DOWN bound to the combo box (which may or may not work depending on platform) then it may not be possible to get it.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
The navigation events go to the parent window, so you can probably catch
it there. Otherwise if you're not able to catch the tab key in a
EVT_KEY_DOWN bound to the combo box (which may or may not work depending
on platform) then it may not be possible to get it.
Hello Robin,
thanks for your help. The navigation events are not send to the parent, but
EVT_KEY_DOWN works on Windows.
regards,
Jürgen
-------------------------------------------------
Versandt durch den Webmaildienst der LDC GmbH Bonn