API Help
Eplan.EplApi.Gui Namespace / Menu Class / AddStaticPopupMenuItem Method
The unique identifier of this menu. p.e. the action name.
Text of the new popup menu item.
Text of the new menu item.
Name of the Eplan.EplApi.ApplicationFramework.Action to be performed when the menu item is selected. Also its parameters can be passed here.
Text shown in the status bar when menu is selected.
The persistent menu id to insert the new one before. (or use the strInsertMenuIdentifier)
The menu identifier to insert the new one before. (or use the nPersistentCommandId)
The count of menus to step over before inserting. 0 inserts before, 1 inserts behind, MaxValue at end, MinValue at beginning
Add a Separator before the new insert menu
Add a Separator behind the new insert menu

In This Topic
    AddStaticPopupMenuItem Method
    In This Topic
    Adds a new static popup menu item with the first 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.
    strPopupText
    Text of the new popup menu item.
    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
    Remarks
    When this strMenuIdentifier is already found, the menu is changed in settings and will show the new menu at next start.
    See Also