NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Setting the Tab Order on Win Forms

The tab order is the order in which a user moves focus from one control to another by pressing the TAB key. Each form has its own tab order. By default, the tab order is the same as the order in which you created the controls. Tab-order numbering begins with zero.

To set the tab order of a control

Additionally, by default, a GroupBox control has its own TabIndex value, which is a whole number. A GroupBox control itself cannot have focus at run time. Thus, each control within a GroupBox has its own decimal TabIndex value.

Finally, any control of the many on your form can be skipped in the tab order. Usually, pressing TAB successively at run time selects each control in the tab order. By setting the TabStop property, a control can be passed over in the tab order of the form.

To remove a control from the tab order

See Also

Control Manipulation on Win Forms | Controls by Category | Anchoring Controls on Win Forms | Docking Controls on Win Forms | Layering Objects on Win Forms | Positioning Controls on Win Forms | Resizing Controls on Win Forms | Controls You can Use on Win Forms | Control Technologies and Where to Use Them | Win Form Controls by Function