By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,824 Members | 1,252 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,824 IT Pros & Developers. It's quick & easy.

focus on radio button

P: n/a
I am having 4 controls on my form
name and tab index property of them
is as follows

Name Tabindex
Textbox1 0
Radiobutton1 1
Radiobutton2 2
Button1 3

on run time the Focus is on TextBox1
If I press the Tab key Focus directly goes to Button1
It doesn't go to RadioButton1 and RadioButton2.....
But if I press left arrow when Focus is on Button1 then it goes to RadioButton2
How does it happen?
I want focus to go to radioButton1 from TextBox1 on pressing Tab Key
Help Me
Amit Shinde
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Cor
Hi Amit,
I did test it,
What I see is that the Tab goes only to a selected RadioButton
The left Arrow goes to every control and when it is a radiobutton select it
(so after you have used the left arrow once to come on a radiobutton, the
route of the Tab is changed)
I don't know if it is strange.
I hope this helps
Cor
Nov 20 '05 #2

P: n/a
"Amit D.Shinde" <am*******@yahoo.com> schrieb
I am having 4 controls on my form
name and tab index property of them
is as follows

Name Tabindex
Textbox1 0
Radiobutton1 1
Radiobutton2 2
Button1 3

on run time the Focus is on TextBox1
If I press the Tab key Focus directly goes to Button1
It doesn't go to RadioButton1 and RadioButton2.....
But if I press left arrow when Focus is on Button1 then it goes to
RadioButton2 How does it happen?
I want focus to go to radioButton1 from TextBox1 on pressing Tab
Key Help Me
Amit Shinde


Set Radiobutton1.Tabstop = True. When pressing Tab when Radiobutton1 has the
focus, the button gets the focus. You have to use left/right or up/down to
select different radiobuttons.
--
Armin

Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.