Programming with Reflection

image\rwnprg32.gif 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.


image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command