Hi Robert,
try attaching your listener to the application root like this:
this.getRoot().addListener("mousewheel", function() {
this.popup.exclude();
}, this, true);
The final "true" argument is important since it attaches the listener to
the capturing phase of the event propagation. By default, the listener
is attached to the bubbling phase which means the event wouldn't reach
the application root if, for example, the mousewheel was used over a
scroll container inside your application.
Regards,
Daniel
Robert Wende schrieb:
> hello,
>
> i have a new problem with my popup. when the user scroll in the application i
> want to close my popup like the calender in the datefield.
>
> the event mousewheel only works if my cursor is situated over the popup. is
> there a possibility to close the popup when my cursor is located outside the
> popup?
>
> thanks,
> Robert
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel