Tab Order Checker

  • Thread starter Thread starter PromisedOyster
  • Start date Start date
P

PromisedOyster

Does anyone know of any utility that would check the tab order of the
forms within an assembly. (ie should be left to right, top to bottom)

I wouldn't have though that it would be all that difficult to write
using reflection.
 
PromisedOyster,

Unfortunately, it is difficult. Because of things such as tab screens,
splitters, and other container controls in general, the logic isn't as
straight forward as one might think (after all, you can't see which controls
are parented to other controls through reflection, you have to do a static
code analysis to determine where the controls are added to each other).

Your best bet is to do it manually in VS.NET, go to the "View" menu
item, then select "Tab Order" and click on the controls in the order you
want the tab order to occur.

Hope this helps.
 
Have a look at MZTools (http://www.mztools.com). I haven't tried the
VS .net version yet but I wouldn't be without it on VB6. It has a
TabIndex Assistant, which can automatically set the indexes, or it
makes it very easy for you to update the order manually.

Martin
 
Hi,

There are a couple of features in my add-in (below) that can help you with
this:

- The TabIndex Assistant: it shows you the hierarchy of controls of the
active form and tells you which ones have a wrong tabindex. It allows you to
move controls up and down to change the tabindex, and it has an "Automatic"
button to set all tabindexes correctly. It's much more convenient that the
Tab Order feature of VS.NET.

- The Review TabIndex feature: it reviews the TabIndexes of all the controls
of all the forms of your app and generates an output list with the wrong
ones.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com
 
Back
Top