Changes

Jump to: navigation, search

Designing Forms in Visual Studio

1,005 bytes added, 18:32, 20 July 2007
Setting Tab Order in a Form
== Setting Tab Order in a Form ==
 
Despite the advent of the graphical user interface and the mouse, it is still common for users to navigate forms using the keyboard. The standard keyboard navigation technique involves the use of the ''Tab'' key to move from one control to the next in form. For this reason it is vital that the ''Tab Order'' be configured to implenent a sensible sequence of moves between controls.
 
To view and change the current tab order for a form, display the ''Layout'' toolbar (if this is not already visible, right click on the standard Visual Studio toolbar and select ''Layout''). On the Layout toolbar click the ''Tab order'' button (usually the last button on the right). The form will be displayed with a number next to each control:
 
[[Image:Exampl.jpg]]
 
To change the order, simply click on each control in the order you wish for them to be navigated by the tab key. As you click on each control the number will change, starting at 0 until all the controls have been sequenced. The tab order is now set.

Navigation menu