0 Replies Latest reply on Aug 5, 2009 9:29 AM by samwalker04

    Listen to click for MenuItem with children?

    samwalker04

      Here is my Menu problem.  I have a Button which, when clicked, pops up a Menu, with four items.  One of the items has four children that expand on mouseover.  When any of its children are clicked, an event is fired off (search).  What I want to do is fire off that same event when the user CLICKS on the menu item which has the children, rather than simply expand and view its children.  So my problem is that the menu item with the children is not clickable/selectable, only "rollover-able".  The menu is defined with arrays of ObjectProxys rather than an XML structure.  I have attempted to add a listener to the specific ObjectProxy in question (the one with the children), but I cannot seem to get it to listen to any click event, just a mouseover.
       
      Any help would be appreciated.