problems with radio button menu items.

Hey guys..

Has anyone ever tried to add a group of radio button menu items, but
have it so that by default NONE of them are selected? Web radio buttons
can do this sort of thing. I guess I could use check boxes, and manually
code something to make them behave like radio button, but It'd be much
nicer to use radio buttons.

I've tried adding radio buttons, and then explicitly unchecking them
all, but to no avail.

Any ideas?

···

--

Thomi Richards,
thomi@thomi.imail.net.nz

Thomas Clive Richards wrote:

Hey guys..

Has anyone ever tried to add a group of radio button menu items, but
have it so that by default NONE of them are selected? Web radio buttons
can do this sort of thing. I guess I could use check boxes, and manually
code something to make them behave like radio button, but It'd be much
nicer to use radio buttons.

I've tried adding radio buttons, and then explicitly unchecking them
all, but to no avail.

It should be possible to start out with them all unselected, but once one of them is selected you're stuck with it. In fact the Check(False) method is basically ignored for radio menu items.

···

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

Indeed. Sorry, I must have misremembered something.

Ahh well, I guess I'll use check boxes, and uncheck the other checkboxes
in the group every time one of them is checked.. It's a bit kludgy, but
It'll have to do ;(

···

--

Thomi Richards,
thomi@thomi.imail.net.nz