I have a problem with the selection of a ComboBox:
(I think, the behaviour in 2.5.2.9 was different as in 2.5.1.5 or the new
2.5.3.1)
as in 2.5.2.9:
If I select an item in the history (via alt-down) and pressing then
enter, the selection stays in the ComboBox, and again by pressing
enter, a for example a button event (if you set for example SetDefault
(OnbtnOk) )
will be triggered.
But in 2.5.3.1 it will start immediatly.
I like the way, as it was in 2.5.2.9.
So:
Focus in combobox: I select one item only with cursor-up down and press
enter:
the default action begins. it's ok.
I select one item with alt cursor-up down and press enter:
the item should be selected and visible in the combobox and no
button-default action
should happen. Only if I press again enter (as I saw in several programs).
If it will stay as in 2.5.3.1:
How can I workaround this?
Thank you in advance
···
--
Franz Steinhaeusler
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++
I have a problem with the selection of a ComboBox:
(I think, the behaviour in 2.5.2.9 was different as in 2.5.1.5 or the new
2.5.3.1)
Which platform? This is something that is going to be highly dependent on the behaviour of the native widgets.
as in 2.5.2.9:
If I select an item in the history (via alt-down) and pressing then enter, the selection stays in the ComboBox, and again by pressing enter, a for example a button event (if you set for example SetDefault
(OnbtnOk) )
will be triggered.
But in 2.5.3.1 it will start immediatly.
I like the way, as it was in 2.5.2.9.
I don't specifically remember any changes that would affect this, but I'll look.
So: Focus in combobox: I select one item only with cursor-up down and press
enter:
the default action begins. it's ok.
I select one item with alt cursor-up down and press enter:
the item should be selected and visible in the combobox and no
button-default action
should happen. Only if I press again enter (as I saw in several programs).
If it will stay as in 2.5.3.1:
How can I workaround this?
Does Space select the item and remove the drop-down? How about Tab?
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I have a problem with the selection of a ComboBox:
(I think, the behaviour in 2.5.2.9 was different as in 2.5.1.5 or the new
2.5.3.1)
Which platform? This is something that is going to be highly dependent
on the behaviour of the native widgets.
Sorry,
Windows XP, Python 2.3.3
as in 2.5.2.9:
If I select an item in the history (via alt-down) and pressing then
enter, the selection stays in the ComboBox, and again by pressing
enter, a for example a button event (if you set for example SetDefault
(OnbtnOk) )
will be triggered.
But in 2.5.3.1 it will start immediatly.
I like the way, as it was in 2.5.2.9.
I don't specifically remember any changes that would affect this, but
I'll look.
I saw this only, because on another PC, there is the same configuration,
except 2.5.2.9 is installed, on on my PC currently 2.5.3.1p.20041028.
Shall I try this again with 2.5.2.9 on my PC?
So:
Focus in combobox: I select one item only with cursor-up down and press
enter:
the default action begins. it's ok.
I select one item with alt cursor-up down and press enter:
the item should be selected and visible in the combobox and no
button-default action
should happen. Only if I press again enter (as I saw in several programs).
If it will stay as in 2.5.3.1:
How can I workaround this?
Does Space select the item and remove the drop-down? How about Tab?
On 2.5.3.1, I open the drop-down, then cursor down, select one entry with space,
then the entry on top of the combobox dissapears and a space is inserted;
the dropdown is still visible after that, but no item in the dropdown is selected anymore.
···
On Fri, 29 Oct 2004 15:55:23 -0700, Robin Dunn <robin@alldunn.com> wrote:
I saw this only, because on another PC, there is the same configuration,
except 2.5.2.9 is installed, on on my PC currently 2.5.3.1p.20041028.
Shall I try this again with 2.5.2.9 on my PC?
Sorry, the whole thing was my mistake.
(It was a matter with Onchar in ComboBox and on wx.WX_RETURN,
a default action was performed).
Apparantly, there is a difference, if I first drop down
with alt-cursor down and enter key is hit, or only
with cursor down and hit a key (then EVT_CHAR will be delivered)