API Help
Eplan.EplApi.Gui Namespace / Toolbar Class / GetPersistentButtonId Method
the name of the toolbar.
the index of the button. Starts with zero.

In This Topic
    GetPersistentButtonId Method
    In This Topic
    returns the persistent command id for a button in this toolbar. The persistent id does not change from one start of P8 to the other.
    Syntax
    public int GetPersistentButtonId( 
       string strToolbarName,
       int nIndex
    )
    public:
    int GetPersistentButtonId( 
       String^ strToolbarName,
       int nIndex
    ) 

    Parameters

    strToolbarName
    the name of the toolbar.
    nIndex
    the index of the button. Starts with zero.
    See Also