Programming with Reflection
RemoveButton method
Syntax object.RemoveButton Index
Removes the specified button from the Standard toolbar.
Index Argument type: Integer
The button being removed. Use 1 to delete the leftmost button, and so on. The remaining buttons are renumbered, so if you're using multiple RemoveButton methods, remember to consider the renumbering that occurs after each.
Use rcAllButtons (or 0) to remove all existing toolbar buttons.
Note: This method updates the Standard toolbar only. If there is no Standard toolbar, it is ignored. To configure any available toolbar, use the newer RemoveToolbarButton method.