API Help
Eplan.EplApi.Gui Namespace / Menu Class / AddPopupMenuItem Method
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 menu id to insert the new one before.
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
    AddPopupMenuItem Method
    In This Topic
    Adds a new popup menu item with the first menu item.
    Syntax

    Parameters

    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.
    nCommandId
    The menu id to insert the new one before.
    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

    Return Value

    The identifying command ID of the added menu item. Is valid as long as the application runs. Can be used to add another menu before/behind.
    See Also