Hello Mailing-list members,
I have uploaded the test file on:
http://berg.heim.at/anden/421194/dialog_stuff.py
my questions (wxPython 2.5, windows Xp):
my questions (wxPython 2.5, windows Xp):
1) is there a workaround for the problem, that all three comboboxes are
selected at the beginning?
(I think, it is caused by the "Append" Command)
2) if the listbox has not the focus, should'nt the selection be grayed out?
(as in Listctrl?) (Select an Item from the search for; the press tab key until
the listbox is reached => select one entry => press tab key again => the
selected item isn't grayed out).
3) I have problems with the comobox "search for".
If some of the "history" is selected, then OnFillListBox2 is called with
the wx.EVT_COMBOBOX event.
If I type some text, and then change the focus, it should also trigger
the same action (only for test purpose, i choosed another method).
wx.EVT_COMBOBOX doesn't work here, so I tried
EVT_KILL_FOCUS. But if i leave the combobox with the tab key,
the behavior is different, as if i change the focus with the mouse
(by clicking on another control).
One see it, if you press shift-tab or tab, and "Search for" is reached, then "Set", "Kill" and "Set"
appears. if you go out of search for, only "Kill" appears.
4) How can I accomplish to achieve following with the return/enter key:
If the focus is in the listbox, it should call OnSelect;
in all other instances, it should perform OnSearch, when the Return key is hitted
many thanks in advance for your answers!
···
--
Franz Steinhäusler