Inserts a button into the ToolBar control at the specified index.
public final void insertButton( int index, ToolBarButton button )
index
The index at which to insert the button.
button
A ToolBarButton object that specifies the button to add to the toolbar.
WFCInvalidArgumentException thrown if button is null or if index is less than zero or greater than the number of buttons in the control.