Visual Studio Form Design : Maintaining Tab Order
Posted on 2006-06-06
I have a form with 25-30 fields on it, as well as a tab control with 5 tab pages, each with 10 - 30 controls on them.
If I add a control to the main form, what is the easiest way to ensure that it is placed in the proper place in the tab order? Obviously, I can use the form designer and "View", "Tab Order" and then go through and clicking on each and every control in order. Is there an easier way?
So far, the best I have found as above, except that I start at the new control, and click on it until it has the correct tab order number, then go through each and every remaining control in order.
The same question applies to adding a control to one of my tab pages. So far, the best procedure I have found is to select the target tab page PRIOR to using "View", "Tab Order", and then proceed as above but only dealing with controls within the tab page.
Any better ideas?