Review TabIndex Property

Top  Previous  Next

The Review TabIndex Property feature allows you to review the TabIndex property of the controls of Forms, UserControls, Property Pages, etc., checking if it has the right value for each control.

MZ-Tools offers the following ways to review the TabIndex property:

  • The Tools | MZ-Tools | Other Utilities | Review TabIndex Property menu: with this menu you can review the TabIndex property of all the files of all the projects.
  • The Review TabIndex Property context menu of a project in the Project Explorer of Visual Basic: with this menu you can review the TabIndex property of all the files of the selected project.
  • The Review TabIndex Property context menu of a file of type Form, UserControl, Property Page or User Document in the Project Explorer of TheVisual Basic: with this menu you can review the TabIndex property of the selected file.
  • The Other Utilities | Review TabIndex Property menu on the MZ-Tools toolbar: with this menu you can review the TabIndex property of all the files of all the projects.
  • The shortcut customized in the Options window, Shortcuts tab: with this shortcut you can review the TabIndex property of all the files of all the projects.

The results are shown in a Results Window. The TabIndex property review shows only the first control of each file that has some error with the TabIndex property. To detect if a file contains controls with a wrong TabIndex property, MZ-Tools compares the order of the controls sorted by their current TabIndex property with the order of the controls sorted by the theoretical TabIndex property that they should have according to the same algorithm used by TabIndex Assistant. To fix easily an error with the TabIndex property of a control, you can use that assistant.

The review of the TabIndex property can be launched automatically (or you can be asked) when you make the executable of a project, that is, clicking the File | Make Project... menu (this is customizable in the Options window, General tab). If a wrong TabIndex property value is detected, the Results window keeps open (otherwise it is closed). You should fix the TabIndex property errors before making the executable.

Remarks:

  • This feature is not available in the VBA version of MZ-Tools.
  • Ensure that the source code can be compiled without errors before running this feature.
  • The review is not launched when clicking the Make Project Group... menu (only when clicking the File | Make Project... menu) due to a problem with the Visual Basic IDE.

See Also:

Results Window

TabIndex Assistant

General Customization

Shortcuts Customization