Show TOC Start of Content Area

Procedure documentation Creating Toolbars  Locate the document in its SAP Library structure

Use

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.

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 a gray strip in the element on the Layout board).

       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 a gray strip that is outlined as you drag the controls over it, so you can see where to place the controls.

       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 of the container or view element.

Example

For a step-by-step example of how to create a toolbar in a wizard for navigation, see Creating a Wizard.

End of Content Area