Selecting a radio button when tabbing

Super26
Super26 used Ask the Experts™
on
Can someone help me on how we select a radio button when someone tabs to it?  Right now basically the only way a radio button in my radio button group gets selected is when I use the mouse to click it.  Is there a way to select it when someone uses the tab key instead?  I would really appreciate it.  Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Java Developer
Top Expert 2010
Commented:
Try tabbing to it and hitting space bar.

Author

Commented:
It hardly ever works.  I have four radio buttons in the group and the tab and space bar thing only works on the first and last radio buttons.  Is there a way to select it by just pressing tab?

Author

Commented:
Actually I forgot to add an actionListener to the other two radio buttons.  The space bar works on all of them now.  Thanks a lot.
Mick BarryJava Developer
Top Expert 2010

Commented:
The arrow keys allow you to navigate within the group.

If you selected it using tab then how would you unselect it.
Mick BarryJava Developer
Top Expert 2010

Commented:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial