Never mind on the question...
There was another bug in my code which was somehow having this effect on the
radio groups... I fixed something seemingly unrelated, and now my code
works.
(Apparently my suppositions about how grouping works were correct...)
But I still think the demo is slightly broken, and the demo/documentation
could be improved in this area.
/Will
···
On Friday, October 11, 2002 5:42 PM, Will Sadkin wrote:
Has anyone noticed that the MSW 2.3.3.1 wxPython Demo for
RadioBox/RadioButtons shows the same message on the unboxed radio
buttons, regardless of which is clicked? (ie. "EvtRadioButton: 1")
This seems broken...On a similar note, neither the demo nor the doc sufficiently
explain how to set up different radio groups on the same form.
I want to create two groups on the same panel, with a layout
something like:Option group 1
o choice 1 [input control] # start of 1st group
o choice 2 [input control]
o choice 3 [input control]Option group 2
o choice 1 [input control] # start of 2nd group
o choice 2 [input control]
o choice 3 [input control]Where each method choice enables the corresponding input control;
(this is why I can't simply use wxRadioBox.)I've tried to set the two wxRadioButtons with the
wxRB_GROUP style, but when I run my program, the radio
selections all act as one big group, allowing only one
selection at a time. I see no mechanism for defining which
group each radio button belongs to either, but I assumed they
grouped by instantiation. I went to the demo for guidance,
but of course, it only defines 2 plain wxRadioButtons
without multiple groups,and has the problem above...Could someone please explain if/how I can get this to work?
Thanks in advance,
/Will Sadkin_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwindows.org
http://lists.wxwindows.org/mailman/listinfo/wxpython-users