Hi the list.
A day without mail ? not possible :)
i've got
textField.addListener('keypress',function(ev) {
if (ev.getKeyIdentifier() == 'Enter') {
doSomething();
});
and i'd like to add something like
textField.addListener('blur',function(ev) {
// blur event, let's do the same thing as the user type 'Enter' key
textField.fireEvent('keypress',qx.event.type.KeySequence, args); //
HERE IS ARGS
});
But i don't know what to put in "args" to have a valid event for my
keypress handler.
Is there a way to do that ?
NOTE:
my textfield is contained in a popup so, when i click outside the popup
below the sequence order i have in my console :
* textfield blur (error when ev.stopPropagation())
* popup disappear
* textfield changevalue (only if initial value has changed, and i don't
care if value changed or not)
Thanks for your help
Franck
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel