Sam23 wrote:
> I have a problem with tabbing to wx.Radio buttons which I found out was
> due to a multi-line text control. I attach a sample code that shows the
> problem. Is there something I missed doing, or is there a way to get
> around this problem?
>
> To see problem.
> * Run the attached file: radios.py
> * The second radio button ('bb')of Abc Radios group is selected. The
> cursor is at the first input element, which is a multiline text control.
> * Press <Tab>. The focus changes to Abc Radio. The selected radio
> changes to the first radio button 'a'. It should remain at 'bb'. This
> is the problem.
> * If you are at the last input element, and press 'Shift-tab' to jump to
> Abc Radios, the selected radio button will not change.But if you tab
> from the first input element, Abc radios will always change to the first
> radio button.
>
Have you tried using a wx.RadioBox instead of a series of wx.RadioButtons?
--
Robin Dunn
Software Craftsman
http://wxPython.org