AuthenticContextMenu.InsertItem
Method: InsertItem(IndexPosition as long, MenuItemName as string, MacroName as string)
Return Value
Inserts a user-defined menu item at the position in the menu specified in the first parameter and having the name submitted in the second parameter. The menu item will start a macro, so a valid macro name must be submitted.
Errors
2501 | Invalid object | |
2502 | Invalid index | |
2503 | No such macro | |
2504 | Internal error |