1 Reply Latest reply on Apr 23, 2008 6:28 AM by Michael Borbor

    PopUpMenuButton problem

      In the application I'm developing, I have a row of PopUpMenuButtons in an application control bar which serves at the main menu bar. I have a method for the click and itemClick events respectively. However, when I click on an item from the list, it does what it is supposed to do, (in this case, open a new window) but when I click on the button itself at the top, it does it twice. Now, I know that I am throwing the same event.Event argument into both methods and that is probably the problem, but what I want to know is there a way to trigger only one method and not both of them when the button is clicked instead of both methods? Here's a code snippet for reference: