[Boa Constr] wx.ComboBox choices
Status: Beta
Brought to you by:
riaan
From: hpvpl <va....@gm...> - 2008-07-04 10:39:41
|
Hi, I have a small problem with Boa and ComboBox Choices fields. This not a bug. More a "how-to" question. By default the wx.ComboBox is created with a choice=[]. In my code I create a list (self.myList) and would like to pass this list into the ComboBox when initialized. When I try to put the self.myList into the Choices field of my ComboBox I get the following error: _your_frame_attrs_ instance has no attribute 'myList' This is a dummy question ... but I can't find any answer on the forum. Any idea ? In any case Boa constructor is really a flexible and very usefull wx.pyhton RAD tool. Thanks and congratulation. !! Cheers Vpl |