Skip to main content

Customization Form – Toolbars Page (at Runtime)

  • 2 minutes to read

The Toolbars page displays a list of existing toolbars, and allows you to create, rename, delete, hide/display and reset any toolbar (restoring its default settings) on a form.

Click a page or the corresponding link below to learn more about it.

Toolbars Page (displayed at design time)

Toolbars Page (displayed at runtime)

Commands Page (displayed both at design and runtime)

Options Page (displayed both at design and runtime)

An end-user can hide/display a toolbar on a form by clicking the corresponding check box. The main menu cannot be hidden in this manner.

The following buttons are available on this page:

New …

Invokes the dialog box shown below. Since each toolbar must have a unique caption, entering a duplicate caption generates a warning message. To create a toolbar, click OK in the dialog box (by default, its docking style is dsTop). To display the toolbar as a main menu, set its IsMainMenu property to True. To add items to the toolbar, use the Commands Page of the Customization Form.

Rename …

This button is enabled only when the selected toolbar has been created by an end-user via the New… button at runtime. When clicking it, a dialog box (see the image below) is invoked to specify a custom caption for the selected toolbar. Since each toolbar must have a unique caption, entering a duplicate caption generates a warning message.

Delete

This button is enabled only when the selected toolbar has been added by an end-user via the New… button at runtime. Clicking this button deletes the toolbar. Toolbar items are not deleted. You can access them in the Commands Page of the Customization Form and add to any toolbar.

Reset

Restores the original layout of the selected toolbar. If a bar manager’s UseFullReset property is set to True, its original settings are also restored (caption, dockings settings, visibility). This button is disabled if the selected toolbar has been created via the New… button at runtime.

See Also