DOCKING TOOLBARS ON FORMS USING THE TOOLBAR CONTROL

For the most part, Access's built-in toolbars do a good enough job when it comes to using them in applications. The ActiveX ToolBar control has one advantage over Access 97's toolbars in that you can place a toolbar on an individual form. The way this is demonstrated here is to emulate the main WindowsCommonControls form by using a ToolBar control instead of a TabStrip control. The form that's used, WindowsCommonControlsToolbar, is in the Chap14.mdb database (on the CD in the \Examples\Chap14 folder).

The ToolBar control can take images supplied by the ImageList control just like the TabStrip and a few of the other Windows 95 interface controls do. Figure 14.20 shows the WindowsCommonControlsToolbar ...

Get F. Scott Barker's Microsoft® Access 2000 Power Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.