3 Replies Latest reply on Jul 10, 2013 12:38 AM by Harbs.

    How to disable a menu-item created by CSXSInterface.setPanelMenu method?

    poortip87 Level 1

      Hi,

       

      I have created a flyout menu for my panel using the com.adobe.csxs.core.CSXSInterface.setPanelMenu(xmlMenu) method. The xmlMenu contains the following:

       

      <Menu>

                                                                                      <MenuItem Label="Menu1"/>

                                                                                      <MenuItem Label="Menu2"/>

                                                                                      <MenuItem Label="Menu3"/>

                                                                                      <MenuItem Label="---"/>

                                                                                      <MenuItem Label="Menu4"/>

      </Menu>

       

      How can I disable a menuitem? What do I need to do for it?

       

      Any help will be appreciated.

       

      Thanks!