Visual Basic Reference

TabOrder (TabOrder.vbp)

See Also

The TabOrder sample application uses the Visual Basic extensibility model, as well as traditional Visual Basic techniques, to reset the tab order of a given form. Many times when creating forms in Visual Basic, the controls end up in an odd tab order. The TabOrder application allows you to reset the tab order to top to bottom, or left to right order. You can also move items in the TabOrder's list up or down, then apply the changes to the form. For more information, see Chapter 3, "How to Build an Add-In," in "Extending the Visual Basic Environment Using Add-Ins," of the Component Tools Guide.

File Description
Taborder.bas Code module for the application.
Taborder.dob The document object for the application.
TabOrder.dox Binary document object for the TabOrder.dob file.
TaOrder.dsr Designer file for the TabOrder application.
TabOrder.res Resource file for the TabOrder application.
Taborder.vbp The project file for the application.

To Run

From the Visual Basic File menu, choose Open Project and select the Taborder.vbp file, which is listed in the Samples directory. Press F5 or choose Start from the Run menu to run the application.