In This Topic
Adds a new static menu item. This menu is always restored at next start even when the dll is not yet loaded.
Syntax
Parameters
- strMenuIdentifier
- The unique identifier of this menu. p.e. the action name.
- strText
- Text of the new menu item.
- strActionName
- Name of the Eplan.EplApi.ApplicationFramework.Action to be performed when the menu item is selected. Also its parameters can be passed here.
- strStatusText
- Text shown in the status bar when menu is selected.
- nPersistentCommandId
- The persistent menu id to insert the new one before. (or use the strInsertMenuIdentifier)
- strInsertMenuIdentifier
- The menu identifier to insert the new one before. (or use the nPersistentCommandId)
- nInsertPosition
- The count of menus to step over before inserting. 0 inserts before, 1 inserts behind, MaxValue at end, MinValue at beginning
- bSeparatorBefore
- Add a Separator before the new insert menu
- bSeparatorBehind
- Add a Separator behind the new insert menu
See Also