I have an install of Python 2.2 and wxPython 2.4 (win32) and I can't find any docs on wxEditableListBox. The wxPython demo does very little, it doesn't appear in the wxWindows docs, and even Google shows nothing.
Can anyone point me in the right direction? Thanks!
I have an install of Python 2.2 and wxPython 2.4 (win32) and I can't find any docs on wxEditableListBox. The wxPython demo does very little, it doesn't appear in the wxWindows docs, and even Google shows nothing.
Can anyone point me in the right direction? Thanks!
There are no docs for it yet, but the API is very simple.
I was just looking at the wxEditableListBox; is it possible to programmatically add new items? I only see the SetStrings method. I can get hte underlying listctrl, and insert items, but then the up/down arrows don't appear to work (I suspect the internal state is out of synch).
thanks,
--bob
···
At 01:50 PM 4/15/2003 -0700, Robin Dunn wrote:
Matt Campbell wrote:
I have an install of Python 2.2 and wxPython 2.4 (win32) and I can't find any docs on wxEditableListBox. The wxPython demo does very little, it doesn't appear in the wxWindows docs, and even Google shows nothing.
Can anyone point me in the right direction? Thanks!
There are no docs for it yet, but the API is very simple.
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
Up/down arrows appear to work for me after using the listctrl.InsertStringItem(). EditableDirListBox.py contains my attempt to subclass the wxEditableListBox to provide something akin to the dir entry control used in Visual Studio options menus. FindDialog.py is where I'm using it, so you have a complete example. Hope this helps.
I was just looking at the wxEditableListBox; is it possible to programmatically add new items? I only see the SetStrings method. I can get hte underlying listctrl, and insert items, but then the up/down arrows don't appear to work (I suspect the internal state is out of synch).
thanks,
--bob
At 01:50 PM 4/15/2003 -0700, Robin Dunn wrote:
Matt Campbell wrote:
I have an install of Python 2.2 and wxPython 2.4 (win32) and I can't find any docs on wxEditableListBox. The wxPython demo does very little, it doesn't appear in the wxWindows docs, and even Google shows nothing.
Can anyone point me in the right direction? Thanks!
There are no docs for it yet, but the API is very simple.
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
I looked at the masked edit control developed by Jeff Childers and Will
Sadkin. It is very impressive, but overkill for my needs.
I just wanted a simple edited date control. I am fairly pleased with what I
have come up with, so I have attached a copy in case anyone else has a
similar need.
If you enter the day only, it assumes current month and year. If you enter
the day and month, it assumes current year. If you enter a 2-digit year, it
calculates a 4-digit year in the range +/- 50 years from the current year.
It uses mx.DateTime for conversion and validation.
It is hard-coded for a DD/MM/YYYY format, but this is easy to change.
Any suggestions for improvements will be most welcome.
Heh. That's what I get for trying stuff too late at night. The code was working fine - I just wasn't adding enough items. No arrows appear, naturally, with only one item in the list.
thanks,
--bob
···
At 10:57 PM 4/24/2003 -0700, Matt Campbell wrote:
Up/down arrows appear to work for me after using the listctrl.InsertStringItem(). EditableDirListBox.py contains my attempt to subclass the wxEditableListBox to provide something akin to the dir entry control used in Visual Studio options menus. FindDialog.py is where I'm using it, so you have a complete example. Hope this helps.