0 Replies Latest reply on Oct 20, 2014 10:09 AM by Xinyu Lin

    How to rename a Command Item of a Command Group on Toolbar

    Xinyu Lin

      Hi All,

      We have a "Command Group" on the toolbar, and it has two "Command items", which is added by this API:

       

      AddCommandItem2(...)
      

       

      What we need to achieve is to Rename the command item (change the text appeared) when user clicks the command. Is this possible?

       

      We couldn't find any API to do this. We did find something from a class called IFrame:

      void RenameMenu( 
        System.string MenuItemString,
        System.string NewName
      )
      

       

      But not sure how it works.

       

      We would appreciate it if any help and suggestions are provided.

       

      Many thanks,

      David