I enclose some subroutines where I create three radiobuttons, bind their
events, and then read the value when the user changes them.
All works ok.
However, I want to set the value within the program when I re-set the screen
design and can't figure out how to reset the top radiobutton. There seems to
be a setvalue property in the docs.
Again, sorry for being so stupid, but hopefully someone will be gracious
enough to ignore this and help.
I enclose some subroutines where I create three radiobuttons, bind their events, and then read the value when the user changes them.
All works ok.
However, I want to set the value within the program when I re-set the screen design and can't figure out how to reset the top radiobutton. There seems to be a setvalue property in the docs.
You just need to call SetValue with a true/false value depending on if the radio button should be selected or not.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!