hi,
i have 3 controls .. one textctrl and two radiobuttons which are connected. When i start the second radio button is set as selected and the textctrl has focus. When i tab from the textctrl to the radiobuttons, the first radiobutton is selected for some reason. But the changed focus shouldn't change the selection, the already selected radiobutton should get the focus.
Any ideas?
radiobutton + tab problem
Re: radiobutton + tab problem
you should do what you want in the keyboard event handler function
Thanks
Best Regards
Ellan
Best Regards
Ellan
Re: radiobutton + tab problem
Hi,
This is how wxRadioButton set behave - they become selected on the focus set.
You probably should catch EVT_SET_FOCUS on the wxRadioButtons and change the value as appropriately.
Also, do you have wxRadioBox or just a group of the wxRadioButtons?
Thank you.
This is how wxRadioButton set behave - they become selected on the focus set.
You probably should catch EVT_SET_FOCUS on the wxRadioButtons and change the value as appropriately.
Also, do you have wxRadioBox or just a group of the wxRadioButtons?
Thank you.