This constructor sets a parent and index position. It also adds a menu macro.
Public Sub New( macroId As string, name As string, parent As Toolbar, index As Integer )
public ToolbarButton( string macroId, string name, Toolbar parent, int index );
Parameters |
Description |
string macroId |
Input the UID of the MenuMacro to associate with the button. |
string name |
Input the name to use as the toolbar button's tool tip, if different from the name of the MenuMacro. |
Toolbar parent |
Input the parent. |
int index |
Input the index at which to insert new PopMenuItem in parent's collection. |
Comments? |