CommandBarButtons.Delete
Syntax:
Parameters:
<Index> (required)
Button position on the command bar or the command bar button.
Description:
Availability:
Example:
// The CommandBar1 command bar contains a submenu Fill // Deleting the FromTerminalOfGathering button from a submenu (gathering data) Buttons = Controls.CommandBar1.Buttons.Fill.Buttons; BottomIndex = CommandBar1.IndexOf(Buttons.FromTerminalOfGathering); Buttons.Delete(BottomIndex); |