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

Moving Focus using Tab key....

P: 4
In a VB6 form I have 1 textbox, 2 option buttons & 1 command button.
I want to move from one option button to other by pressing the Tab key. Help me out. This is customer requirement.
Nov 28 '07 #1
Share this Question
Share on Google+
3 Replies


Mohan Krishna
100+
P: 115
In vb6 form...
Hi Rajesh!

Why can't you take each non-group option in a frame each and try for now? And then make frame border as none. Just for now!

ALL THE BEST!
Nov 28 '07 #2

lotus18
100+
P: 866
In a VB6 form I have 1 textbox, 2 option buttons & 1 command button.
I want to move from one option button to other by pressing the Tab key. Help me out. This is customer requirement.
Hi rajeshnrh74

I think you need to set their Tab Index property. The first object that is on focus should be =0, second object =1, and so on...

Rey Sean
Nov 29 '07 #3

Expert 5K+
P: 8,434
I think you need to set their Tab Index property. The first object that is on focus should be =0, second object =1, and so on...
That just determines their order, not how they behave.

I think Mohan had the right idea - put them in different frames.
Nov 29 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.