API Help
Eplan.EplApi.Gui Namespace / Menu Class / AddStaticMainMenu Method
The unique identifier of this menu. p.e. the action name.
Text of the new main menu item.
This is the enum of the main menu where the new menu should inserted at.
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 count of menus to step over before inserting. 0 inserts before, 1 inserts behind, MaxValue at end, MinValue at beginning

In This Topic
    AddStaticMainMenu 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.
    strMainMenuText
    Text of the new main menu item.
    eMainMenuReferenceName
    This is the enum of the main menu where the new menu should inserted at.
    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.
    nInsertPosition
    The count of menus to step over before inserting. 0 inserts before, 1 inserts behind, MaxValue at end, MinValue at beginning
    Remarks
    When this strMenuIdentifier is already found, the menu is changed in settings and will show the new menu at next start.
    See Also