views:

21

answers:

0

I'm working in VS 2010. I've got a WPF page with 4 expander on it. On each expander I have between 10 to 20 controls. Normally I just let the default tab order work, left to right, top to bottom, so I don't mess with the tab order. However, on the first expander my users want the tab order to be very specific, so I'm going to have to assign an tab order to the controls, to make it so that tabbing off of a control will go to the control they want it to go to next.

My concern is what do I assign to the rest of the controls on the page and each expander after the first expander? When it comes to tab order, I'm most familiar with VB6. In VB6 the tab sequence had to be unique. I believe in VS 2010, either VB or C#, that tab sequence doesn't have to be unique, but I would still think that if I had a control with a tab sequence of 12 on the first expander, and then a control with a tab sequence of 13 on the 4th expander, that tabbing off of the control with a sequence of 12 on the first expander would make it go to the control on the 4th expander that has a tab sequence of 13. Am I correct, or am I wrong? Do I have to be specific and number each control with it's own tab sequence on the page?