Any way to have a RadioBox or group of RadioButtons default to no selection?

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.

···

--
-----------------------------
  e y e p u l p
-----------------------------

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.

···

On 1/14/07, EyePulp <eyepulp@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.

--

# p.d.

Hey Peter, thanks for the response;
I figured this out through some better crafted google searches - it
was ridiculously simple (not surprisingly): radioObj.SetValue(False)

Shockingly it was a post made by Robin... What are the odds? =)

···

On 1/14/07, Peter Decker <pydecker@gmail.com> wrote:

On 1/14/07, EyePulp <eyepulp@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.

--
-----------------------------
  e y e p u l p
-----------------------------

Peter Decker wrote:

···

On 1/14/07, EyePulp <eyepulp@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. :wink:

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