| DatabaseLessons.com |
'Serving the Microsoft® Access |
|
|
Custom Toolbarone way of adding a nice professional looking touch to your Access applications is to use a custom toolbar. I have used mine to give users access to common features like printing and even password changes. At the same time I remove the standard toolbar so they cannot get at menu structures I would rather they could not. (article continues after sponsor spot) Creating a custom toolbar is easy.
Notice that Access creates a small, empty, toolbar. Mine was a bit in the way, so I dragged it off to the side a bit.
One tip. It took me a bit to figure this out. How do you get the little vertical bars that separate groups of buttons? Click on the "Modify Selection" button and click on the "Begin a New Group" item. You will find other things under that button. Next - How can we make that toolbar appear and disappear while in your program? For example, many of my clients have systems that have no toolbars showing for some users. Just the buttons on the forms. However, when in a query or in print preview mode, how do you command a Close, other than by using the "x"? By making a custom toolbar and making it show up only when needed. NOTE: All the VBA code segments on the Database Lessons site assume that you have DAO references active. If you are not sure what this means, and you are using Microsoft Access 2000 or higher, click here. This code should turn off the normal toolbar.
To turn on your custom toolbar:
and to turn it off
Further Suggestions: To make sure that you find out whenever we are adding more tips, subscribe to our newsletter. Just click the Subscribe button to the left to start the process. Happy Coding |
|
|
© 2006, 2007 Richard W. Killey. All Rights Reserved. |