Programming with Reflection

image\rwnprg32.gif RemoveToolbarButton method

 

Syntax object.RemoveToolbarButton ToolbarName, Index

 

Description

Deletes a button from a Reflection toolbar. For example, the following command removes the first button from the Standard toolbar:

Session.RemoveToolbarButton "Standard", 1

Arguments

ToolbarName Argument type: String
Required
The toolbar name. Toolbar names are not case sensitive. The default toolbar names are:
 Standard
 File Transfer
 Visual Basic
 Setup

 Use NewToolbar to create a new toolbar.

Index Argument type: Integer
Required
The button being removed. Use 1 to delete the first button, and so on. The remaining buttons are renumbered, so if you're using multiple RemoveToolbarButton methods, remember to consider the renumbering that occurs after each. Use rcAllButtons (or 0) to remove all existing toolbar buttons.

 

 

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command