views:

1574

answers:

2

What is the most efficient way to set/re-order the TabIndex properties of many form controls in Visual Studio? When I change the layout on a large form, or even on initial design, I often wonder if there's a faster way than clicking each individual control then setting the TabIndex in the properties window.

+3  A: 

While in Designer mode, select Tab Order from the View menu then click on each control in the order you want. Then remember to turn off Tab Order when you're finished, otherwise when you select a control to do something else you lose the work you've just done (I wish Tab Order would turn off when you Save..)

Stuart Dunkeld
Doh, i'm too slow.
Serapth
+1  A: 

Bring up the Form in design mode.

Click the View Menu -> Tab Order

Then a little number will show up on each form representing its tab order. Now click each item in order that you want their tab order set.

Serapth