In environmental and ecological applications some data will be missing. We
use a code scheme originally developed by a regulator to explain why
measurements are missing. The list has 27 rows with two columns: a single
letter code [A-Z, $] and an explanation of what that code means. I want to
make this 2-column list available to users so they can enter the appropriate
code when data are missing.
My research (primarily in 'wxPython in Action') suggests that a wx.Choice
type of ListControl would be the most appropriate widget for this purpose.
What I've not seen is how to make the list of choices with two columns: a
narrow one for the symbol and a multi-line one for the description.
I'd like the benefits of your expertise in how best to implement this
widget. Or, what widget type would be more suited to this purpose.
Looking at the above, ComboBox, and ListCtrl, I believe the ListCtrl will
work best. The entries are read only and the user can select one of them
while seeing both the symbol and the meaning.
Thanks,
Rich
···
On Fri, 9 Dec 2011, Mike Driscoll wrote:
Actually, I think the ComboCtrl or the OwnerDrawnComboBox would be better.
There are examples of both in the wxPython demo.