Visual Basic 2008 Programming: Business Applications with a Design Perspective
Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9
Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Appendix A Appendix B Appendix C Home
Last change: February 13 2016 18:48:19.

 Chapter in PDF

Table of Contents

Chapter 3: User Interface Design: Visual Basic Controls and Events
Last change: February 13 2016 18:47:26.

Setting the Tab Order

After all controls are placed in proper position, you should test their tab order. You can do so by running the program. Click the Start button. To test the controls’ tab order, verify that the focus is on the masked text box (date of order) when the program starts; then press the Tab key repetitively to see if the focus is set on the controls in the order you want. That is, the focus should go in the order of Date, Distributor Number, Model Number, Quantity, Rush Order, U.P.S. (or Special Carrier), Save, and, finally, Quit. Note that at run time, you can tab to only one of the radio buttons; therefore, you should also test their tab order at design time.
If the tab order is not exactly the way you desire, you can use the Tab Order option in the View menu to set the TabIndex property of all controls properly as discussed in Section 3.7.

Last change: February 13 2016 18:47:26.