The AddButtonHelper object is used to add dynamic buttons to a toolbar. It's obtained from the buttons property of the AddButtonsData object.

Method Name Arguments Return Type Description

AddButton

none

ButtonData

Adds a new (normal) button to the toolbar. Use the properties of the returned ButtonData object to customize the button.

AddMenu

none

ButtonData

Adds a new drop-down menu to the toolbar.

AddMenuButton

none

ButtonData

Adds a new menu button to the toolbar.

AddThreeButton

none

ButtonData

Adds a new three-button button to the toolbar.