You can either get the button sequence index (zero-based)
rb.GetSelection()
or get the label (which in your case represents a number)
and coerce it to an integer
int(rb.GetString())
- Sam
···
At 2004-09-25 06:03 AM +0100, you wrote:
Hi All,
Could someone help a newbie with the code for a radiobox?
I have been working with a raw input;
Name_Number = xrange(int(raw_input("Choose number of Names (1-20)? ")))
for x in Name_Number - Do something etc...
I would now like to use this to give the number of Names
__________________________________________________________
Spinward Stars, LLC Samuel Reynolds
Software Consulting and Development 303-805-1446 http://SpinwardStars.com/ sam@SpinwardStars.com