ToolBar.insertItem

Syntax

insertItem (item:  PP.Ui.Control, index: Integer);

Parameters

item. A toolbar item is an instance of class descendant of the PP.Ui.Control.

index. Position where a new item will be added. Numbers start with zero.

Description

The insertItem method inserts a new toolbar item to specified position.

Example

The example of method use is given on the Example of Creating the ToolBar Component page.

See also:

ToolBar