hi all,
i have one doubt .
i am trying to use wx.CheckListBox which shows a particular list of labels frm a sampleList
These labels are obtained frm a dialogbox say, wx.MultiChoiceDialog
ie,
On Open btn the dialog pops up and labels are diaplyed. The user can select the labels according to his wish and on OK
he gets appended to the wx.CheckListBox.
my problem is when my app runs i get certain values for the labels i have chosen… these values must also be displayed along with the labels i have chosen…
in List Ctrl we can have sep cols for that. but i am not seeing any thing like that in this one…
does this mean i need to write a generic function to get what i require…
say,
def xxxxx():
.
s = wx.BoxSizer(Horizontal)
chkBox = wx.CheckBox()
lbl = wx.StaticText
txtCtrl = wx.TextCtrl() ----------> for diaplaying values of the label
s.add(chkBox)
s.add(lbl)
s.add(ttCtrl)
Hope i am able to clarify my requirement. i am attaching my files along with this. This is just a sample app.
I need a checkbox along with a label…and somecontrol so that i can display the values corresponding to each label in that ctrl
MyPanel.py (2.31 KB)
OpenDialog.py (1.29 KB)
···
–
Regards,
Shine Anne