I have some checkboxes like this
self.myCB = wx.CheckBox(panel, id=02, label="someString", pos=(20, 25))
behind every checkbox there's a TextCtrl
like this
self.myTC = wx.TextCtrl(panel, value=" 0", id=self.myCB.GetId(), pos=(320, 25), size = wx.Size(80, 20))
when I select the checkbox AND the value of my Textctrl
is "0", the font color of my Textctrl
should change to red.
I tried it with an if
-statement but it doesn't do anything