Review TabIndex

Top  Previous  Next

The Review TabIndex feature allows you to review the TabIndex property of the controls of forms, usercontrols, etc., checking if it has the correct value for each control.

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

  • The MZ-Tools | Other Utilities | Review TabIndex... menu.
  • The Other Utilities | Review TabIndex... menu on the MZ-Tools toolbar.
  • The keyboard shortcut associated with the MZTools6_VSXXXX.ReviewTabIndex command.

When you invoke this feature, a dialog window is shown that allows you to select the scope of the operation. The results are shown in a Result Window.

To find if a form or usercontrol contains controls with the wrong TabIndex value, MZ-Tools compares the order of the controls sorted by their current TabIndex value with the order of the controls sorted by the theoretical TabIndex value 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.

This review can be launched automatically (or you can be asked) before a build in Release configuration. This is customizable in the Corporate Options window, Review TabIndex section. If a wrong TabIndex value is detected, the Result window keeps open (otherwise it is closed). You should fix the wrong TabIndex property before building the executable.

Remarks:

  • Ensure that the source code can be compiled without errors before running this feature.
  • Smart Device projects are not supported by this feature.

See Also:

Result Window

Review TabIndex Options

Tabindex Assistant

Keyboard Shortcuts Options