Show TOC

Procedure documentationCreating Toolbars Locate this document in the navigation structure

 

You can add a toolbar to a view or container element. The toolbar can contain a variety of controls, such as buttons, dropdown lists, and hyperlinks. Each control can be defined to initiate different actions at runtime, for example, adding a row to a table, displaying a popup window, or closing a window. You can add controls to either the left or right side of the toolbar.

Note Note

You cannot add a toolbar to a Wizard or Tabstrip container.

End of the note.

Prerequisites

On the Design board, you have added the view or container element for which you want to create a toolbar.

Procedure

  1. On the Layout board, select the view or container element to which you want to add the toolbar and select the Show toolbar checkbox in the Configure task panel. A toolbar is added to the selected element (you can see the toolbar as an empty strip at the top of the element).

  2. In the Configure task panel, in the Toolbar dropdown list, select where to place the toolbar on the element: Top or Bottom.

  3. Drag the required controls from the Compose task panel to the toolbar area in the view or container element. The toolbar area is outlined as you drag the controls over it, so you can see where to place the controls. You can drag controls to the highlighted area on the right or left of the toolbar area.

  4. If needed, you can change the order of the controls on the toolbar by dragging them to a new position.

  5. Configure the controls in the toolbar as you would configure any other controls (including defining actions for them). For more information, see Configuring Controls.

Result

At runtime, a toolbar of controls is displayed at the top or bottom of the container or view element.