Custom Toolbars and Menus

The runtime designer toolbars and menus cannot be customized during development. You can control the visibility and accessibility of individual toolbars using ToolbarsVisible and ToolbarsAccessible properties. You cannot remove any of the tools from the toolbars.

If you need to present your end users with a different user interface elements you should disable and hide all the toolbars by setting ToolbarsVisible and ToolbarsAccessible to 0 and create your own toolbars and menus.

StatusChange event and ExecuteAction and QueryStatus methods provide complete control over the current state of available UI options. In addition, you can customize the alerts and error messages by handling the Alert event.

In addition, you can create your own custom or localized object context menus in the ContextMenuOpen event.

The "Diamond Reports" sample included in your samples directory provides a comprehensive example for creating custom toolbars and menus.