I need to intercept the data that is selected in a
combobox when users browse the data through the keyboard.
I proceeded to add a bind event
wx.EVT_CHAR but do not know how to intercept
the data selected in the combo in method OnNavigateItemCombo.
I hope to be clear with the following example?
self.Bind(wx.grid.EVT_GRID_EDITOR_CREATED,self.OnGrid1GridEditorCreatedForChoiseEditor)
def OnGrid1GridEditorCreatedForChoiseEditor(self, event):
self.comboBox = event.GetControl()
self.comboBox.Clear()
self.comboBox.Bind(wx.EVT_COMBOBOX, self.OnGrid1ComboBox)
self.comboBox.Bind(wx.EVT_CHAR,self.OnNavigateItemCombo)
for (item, data) in self.list:
self.comboBox.Append(item, data)
def OnNavigateItemCombo(self, evt):
???
evt.Skip()