VS VB6 VBA
The feature allows you to easily assign the correct property to each control in a form, usercontrol, etc.
offers the following ways to show the window:
- The menu.
- The button on the toolbar.
- In , the keyboard shortcut associated with the command.
- In , the keyboard shortcut associated with the command.
- In , the keyboard shortcut associated with the feature.
The TabIndex Assistant window is the following:

It shows the controls of the active window (sorted by their TabIndex property), their Text property, and their full TabIndex values. Controls are also indented to reflect their parent-child relationship.
To change the TabIndex property of a control or group of controls you can:
- Use the buttons with the up and down arrows to move the selected control one position.
- Use the and keys of the keyboard to move the selected control one position.
- Click the button. This feature uses an algorithm based on the parent-child relationship between controls and their relative position to estimate the correct TabIndex value for each control.
When you select a control in the list, the control is also selected in the designer window of the form. A very useful way to determine if the controls are sorted properly is to select the first control of the list and then with the key of the keyboard select the next control, checking in the designer window whether the order is correct or not.
If you check the checkbox, the controls with incorrect TabIndex properties are shown with a warning icon.
Remarks:
- You can navigate the items of this window using the buttons on its toolbar or even if the toolwindow is not visible using the and buttons on the toolbar, which can be associated to keyboard shortcuts. You have also the and commands (Visual Studio 2015 and higher) and the and commands (Visual Studio 2013 and lower).
- Checking the checkbox can decrease the performance, so it is recommended to deactivate it while moving the items in the list.
- If a form is read-only you can not modify the TabIndex property of its controls.
- Controls which lack the TabIndex property are not shown in the list.
- In , this feature only works with forms, not with , , or forms.
- In , this feature doesn't work with forms, it only works with VBA UserForms ( menu) since is an add-in for the VBA editor and not an add-in specific for .
See Also:
Review Quality
Keyboard Shortcuts Options
|