A constructor which lets you specify the placement of the PopMenuItem.
Public Sub New( menuMacro As MenuMacro, name As string, insertBefore As PopMenuItemBase, parent As PopMenu, index As Integer )
public PopMenuItem( MenuMacro menuMacro, string name, PopMenuItemBase insertBefore, PopMenu parent, int index );
|
Parameters |
Description |
|
MenuMacro menuMacro |
Input the macro to execute. |
|
string name |
Input the name of the PopMenuItem if different from the name of the MenuMacro; otherwise, can be null. |
|
PopMenuItemBase insertBefore |
Input the item before which to insert. |
|
PopMenu parent |
Input the parent. |
|
int index |
Input the index at which to insert a new PopMenuItem in the parent's collection. |
| Comments? |