Hi Robin,
> this is the first take of a (hopefully) useful composite control,
> which enhances a wxComboBox with a wxSpinButton and, if not
> wxCB_READONLY styled, a button to delete created entries. Attempts
> has been made to manage combobox entries intelligently.
Good idea, I can think of a few situations where something like this would
be nice.
Fine. Working on a refined version with an auto completion subclass now...
> To be able to use it in Boa without hassle, I've created some
> callbacks to check and to sort the entries. What do you think
> about this approach?
>
> Also, I would like to know, if it looks fine on Windos, too?
The spin button is a bit too narrow, (the arrows look like specs of dust on
the monitor. <wink>)
I will need to bump up a windos wxPython env here :(.
In order to work better with sizers you will probably want to derive it
from wxPanel and then place both the spin button and the combobox on the
panel.
Thoght about this before, but I would like to stay with the wxComboBox as
parent in order to keep it's properties within Boa.
Would it be sensible to instance a panel (self.panel) before calling the
combobox __init__ with self.panel as parent? Haven't seen this before, and
not sure about the implcations...
Also I've noticed some strangeness with SetSelection. Even, if I
don't call it in the EVT_SPIN_[UP|DOWN] handlers, sometimes I found
more then one item selected in the list. I this case the arrow
keys work differently (not all items are accessible then).
Last BNL, I would like to be able so move the selection in an opened
combobox popup with the arrow keys. Is it feasable somehow?
That all for now
Pretty quiet on the list
Cheers,
Hans-Peter
Yesterday, I had a strange experience in my favorite bookstore:
found at least 5 times more publications about c# then about python (~15)
there! I cannot resist to regard this as an advantage of python
···
On Thursday, 21. March 2002 17:19, Robin Dunn wrote: