Hi Herman,

I didn't test this, but what might work is if you attach your "execute" 
listener in the capturing phase (by default it's in the bubbling phase).

You can do so by passing "true" as 4th argument to the addListener method.
See [1] for more info about event phase.


Regards,
Marc

[1] 
http://manual.qooxdoo.org/1.4.x/pages/gui_toolkit/ui_interaction.html#event-phases


On 05/06/2011 05:05 PM, hgc2002 wrote:
> I've created a widget derived from listitem. Now it has a button inside, plus
> the standard Atom.
>
> I can add it to a select box and it is shown correctly.
> Also the mouse hover works fine in the button (it's painted correctly when
> the mouse gets in and out).
>
> The problem is that I don't receive the "execute" event from the button if I
> click on it. There is one button on each listitem, but no one works.
>
> I don't know if the selectbox (or any of its components widgets) is blocking
> the click (because the rest of mouse events are arriving well to the
> button!)
>
> Please help.
>
> Regards,
> Herman
>

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to