Toolbar Customization 1.0 reviewDownload
Toolbar Customization offers classes that allow some toolbar customization in REALbasic 5.
Toolbar Customization offers classes that allow some toolbar customization in REALbasic 5.0.
Warning: It's not a complete solution! Thanks to REALbasic's design of toolbar item classes, it's extremely difficult to allow StandardToolbarItems in toolbars and would require a near complete rewrite of everything I've already written. Besides that fact, it's impossible to detect a click on a standard toolbar item in the toolbar which would make it impossible to customize standard toolbar items in the same way you would a custom toolbar item. Thanks to this, I've completely stopped working on that idea. Any standard toolbar item code/classes you see in the project now was an attempt at a work around, but it has its drawbacks and I simply don't want to continue working on it if it's only half useful.
So with that in mind, I present to you the project. There isn't any documentation, but the general idea is, drop the classes in the "Toolbar Customization" folder into your project, make your toolbar-using window a subclass of the ToolbarUsingWindow class, and then create a customization sheet as in the project. It's not difficult at all to implement. All you as a developer need to look at are the two windows and their containing controls: Main and CustomToolbarSheet. That's it.
Toolbar Customization 1.0 keywords