Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

ToolBar.insertButton

Inserts a button into the ToolBar control at the specified index.

Syntax

public final void insertButton( int index**, ToolBarButton** button )

Parameters

index

The index at which to insert the button.

button

A ToolBarButton object that specifies the button to add to the toolbar.

Exceptions

WFCInvalidArgumentException thrown if button is null or if index is less than zero or greater than the number of buttons in the control.