I am confused: My PopupMenuButton looks like:
<mx:PopUpMenuButton id="menuDialer"
dataProvider="{menuDialerData}"
label="Dialing ALL" labelField="@label"
itemClick="menuDialerHandler( event)" />
the itemClick Event is ONLY triggered if i click on the down arrow at the end
of the button.
If I add a click event it sends a MOUSE event not a MENU event. How can I get
the menu
event sent if I click on the button? I need the Menu Event to know which item
they
selected.
thanks
Bruce
--- In [email protected], "Manish Jethani" <[EMAIL PROTECTED]> wrote:
>
> On 5/7/07, boy_trike <[EMAIL PROTECTED]> wrote:
> > If I click on the arrow, I get the itemClick event and everything is fine
> > since I get a
menuEvent
> > and I can tell which item was selected. My problem is that I want to let
> > the user click
on the
> > label in the button and still be able to tell which item they selected. I
> > am having
problems
> > with this. Any suggestions?
>
> You get the "itemClick" event on the button click as well.
>