Note that there are some explanatory texts on larger screens.

plurals
  1. POcustomizing PopUpMenuButton Control in flex
    primarykey
    data
    text
    <p>I have a question regarding PopUpMenuButton Control.</p> <p>The existing behavior of this control is :</p> <p>“PopUpMenuButton Control has two buttons (main button and secondary button( looks like “v” down arraow symbol )) . When the user clicks the main button, the control dispatches an itemClick (MenuEvent.ITEM_CLICK) event that contains information about the selected menu item. Therefore, the same itemClick event is dispatched when the user clicks the main button or selects the current item from the pop-up menu. Because the same event is dispatched in both cases, clicking on the main button produces the same behavior as clicking on the last selected menuItem, so the main button plays the role of a frequently used menu item.”</p> <p>In my application I got a requirement to change the existing functionality of the main button. It should not navigate to the frequently used menu item screen instead it should open the popup and it should behave exactly same as the secondary button ( v).</p> <p>I tried with openAlways=true property of PopUpMenuButton control. But it did not solve the problem completely. Any help is greatly appreciated.</p> <p>EDIT - </p> <p>I already tried the option mentioned by TRISH below. But it is not solving my problem.</p> <p>Whenever we click on the main button of PopUpMenuButton control two events will be dispatched. First click event will be dispatched followed by itemClick event. In the Click event handler we are writing code to open the popup so it is opening the popup and in the itemclick event handler respective page navigation code is there so it is navigating to that particular page. (These two are happening one by one so first popup is opening and within seconds it is navigating to the recently opened page because of itemclick handler code. So whenever we are clicking on main button these two actions are happening parallel hence we are getting a popup blink but not stable popup. If we modify anything in itemclick handler it is effecting the functionality of popup button because same handler for both the button clicks. Even the event target is also same in case of itemclick event irrespective of main button or popup button.)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload