I want to change this code. So when radio button Title1 is clicked and then the ok button is clicked, then it should print ‘Title1 selected’ and sameway when Title2 is clicked and then ok button is clicked, then it should print ‘Title2 Selected’
I want to change this code. So when radio button Title1 is clicked
and then the ok button is clicked, then it should print 'Title1
selected' and sameway when Title2 is clicked and then ok button is
clicked, then it should print 'Title2 Selected'
Use a wx.EVT_BUTTON on your self.ok object so that it calls a method
called, say, OnButton. On the OnButton method, check the value of the
self.rb1 object via its GetValue() method. If it's True, rb1 is
checked; if it's False, then rb2 is checked.
-- tacao
No bits were harmed during the making of this e-mail.
I want to change this code. So when radio button Title1 is clicked and
then the ok button is clicked, then it should print 'Title1 selected'
and sameway when Title2 is clicked and then ok button is clicked, then
it should print 'Title2 Selected'
Actually,I didn't check the forum on june 5th the day you have replied.
Thanks for the Reply.
I posted my questions in both the forums on same day. But Instead of
sending it to wxpython-users list, I send it to wxpython-subscribe
list. So thatswhy I posted again.
Sorry for the confusion