1. Where/how do you set the tab order for controls in a window? (To
skip to the next control without using the mouse.)
The tab order is the order that the controls are created. There will be the
possibility in a future version to change the order dynamically of existing
controls.
2. Where/how do you set keyboard accelerators in a window? (To jump to
a control out of sequence without using the mouse.)
Create a wxAcceleratorTable and set it in the window. You'll then get
EVT_MENU events for the ID's you put in the table, and in the event handler
you can set the focus to the control you want.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!
Is it possible to override all the input to a ComboBox widget. I need to
trap down arrow key. Instead of having it move to the next item in the
downdown and generating an EVT_COMBOBOX. Neither EVT_CHAR nor
EVT_KEY_DOWN catch it.
Thanks,
James
->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
James Thompson 138 Cardwell Hall Manhattan, Ks 66506 785-532-0561
Kansas State University Department of Mathematics
->->->->->->->->->->->->->->->->->->---<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<-<
Is it possible to override all the input to a ComboBox widget. I need to
trap down arrow key. Instead of having it move to the next item in the
downdown and generating an EVT_COMBOBOX. Neither EVT_CHAR nor
EVT_KEY_DOWN catch it.
I'm surprized that EVT_KEY_DOWN didn't get it. Which platform and versions
are you on? Have a code sample?
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!