Microsoft Knowledge Base Email Alertz

KBAlertz.com: The TAB key is often used to navigate sequentially through multiple controls on a form. The order in which you move through the controls depends on their TabIndex value, not their position on the form. This article provides you with a simple method...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 2.0 Web Hosting with SQL 2005: Click Here!
Discount ASP.NET Hosting


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




How To Easily Set Up the Tab Sequence of a Form

Article ID:153308
Last Review:July 15, 2004
Revision:3.2
This article was previously published under Q153308

SUMMARY

The TAB key is often used to navigate sequentially through multiple controls on a form. The order in which you move through the controls depends on their TabIndex value, not their position on the form. This article provides you with a simple method you can use to set up a required tab sequence.

Back to the top

MORE INFORMATION

By default, the TabIndex property is set when you place a control on a form relative to the other controls on the form. To set up a required tab sequence, in the design environment, select the control you wish to be last in the tab sequence. Set its TabIndex to Zero. Select each control in the opposite direction from that which the user will use to navigate through the form, and set each control's TabIndex to Zero.

Each time you set the TabIndex for a control, all the other controls have their TabIndex recalculated so as you set them to Zero all the other controls are incremented by one.

Back to the top

REFERENCES

142816 (http://kbalertz.com/Feedback.aspx?kbNumber=142816/EN-US/) How to Make ENTER Key Move Focus Like TAB Key for VB Controls

Back to the top


APPLIES TO
Microsoft Visual Basic 5.0 Learning Edition
Microsoft Visual Basic 6.0 Learning Edition
Microsoft Visual Basic 5.0 Professional Edition
Microsoft Visual Basic 6.0 Professional Edition
Microsoft Visual Basic 5.0 Enterprise Edition
Microsoft Visual Basic 6.0 Enterprise Edition
Microsoft Visual Basic 5.0 Control Creation Edition
Microsoft Visual Basic 4.0 Standard Edition
Microsoft Visual Basic 4.0 Professional Edition
Microsoft Visual Basic 4.0 16-bit Enterprise Edition
Microsoft Visual Basic 4.0 32-Bit Enterprise Edition

Back to the top

Keywords: 
kbhowto KB153308

Back to the top

       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please