Programming with Reflection

image\rwnprg32.gif AddButton method

 

Syntax object.AddButton Index

 

Description

Adds a button to the Standard toolbar.

Arguments

Index Argument type: Integer
The location for the new button on the toolbar. If Index is 1, the new button is the first (leftmost or top) button in the toolbar. If the number is greater than the number of buttons on the toolbar, then the new button is the last (rightmost or bottom) button.

 

Note: This method allows you to update the Standard toolbar only. If there is no Standard toolbar, it is ignored. The newer DefineToolbarButton method allows you to add additional buttons to any available toolbar.

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command