Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

How to add event to menuitems in the command bar

I'm trying to add click event to the menuitems added in the commandbar. But I cannot find how to do this.
 

Another question: is it possible to add sub menuitem to the menuitems added in the commandbar? and how?

 

Is anybody know?

 

Thanks very much!

Comments

  • H Jing,
     

    To define the list of actions associated with a menuitem, you need to

     

    1 - Select the menuitem instance inside the combo box which is in the top of the properties dialog

    2 - Select the "Events" tab

    3 - Double click in the Click event.

     

    In the current version, it is not possible to submenus.

     

    BR/Carlos

     

    image

     

     
    Carlos Martinez
    ABB