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

Peter Decker pydecker at gmail.com
Sun Jan 14 05:06:52 PST 2007


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.

-- 

# p.d.




More information about the wxpython-users mailing list