[wxPython-users] Any way to have a RadioBox or group of RadioButtons default to no selection?

Robin Dunn robin at alldunn.com
Mon Jan 15 17:14:12 PST 2007


Peter Decker wrote:
> On 1/14/07, EyePulp <eyepulp at eyepulp.net> wrote:
> 
>> Howdy folks;
>> Google's been less than forthcoming on this one, and it seems like a
>> reasonably simple desire.  I essentially need to force the user to
>> decide Yes/No, and not presuppose an choice one way or the other.
>>
>> I've tried both radiobox and a pair of radiobuttons, but any grouing
>> of radio controls seems to force its first member into a selected
>> status.
>>
>> Help would be greatly appreciated.
> 
> That would be really simple in Dabo. Just use a dRadioGroup control,
> and set its PostionValue property to None. I don't know why this
> wouldn't work in raw wxPython.
> 

That would be even more helpful if you told us what methods the 
PositionValue property maps to.  ;-)


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list