The Debug, Edit, and UserForm Toolbars


In addition to the menu commands, you will be using several toolbars in your work. Besides the Standard toolbar, the Debug, Edit, and UserForm toolbars will be referred to throughout the rest of this book. Let’s take a look at them here.

The Debug toolbar, of course, is used in debugging: It contains one-click shortcuts for all of the items on the Run menu, as well as selected items on the Debug and View menus.

click to expand

The Edit toolbar provides tools for editing code. Its buttons duplicate options found mostly on the Edit menu, like List Properties/Methods, Indent, and Outdent. In addition, it contains a Toggle Breakpoint button, which is also found on the Debug menu. Finally, it has a Comment Block button to comment out lines of code so that they do not execute, and an Uncomment Block button to remove comments from lines of code so that they do execute. These two buttons have no menu equivalent:

click to expand

You use the UserForm toolbar to create a GUI object to facilitate the end user’s interaction with the system: It contains buttons to order, group, and align objects on user forms.

click to expand




Access VBA Programming
Microsoft Access VBA Programming for the Absolute Beginner
ISBN: 1598633937
EAN: 2147483647
Year: 2006
Pages: 214
Authors: Michael Vine

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net