Accepting keyboard input after focus() on spinner

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Accepting keyboard input after focus() on spinner

paragasu
I have a qx.ui.form.Spinner() widget

var price = new qx.ui.form.Spinner(0, 0, 100);
price.focus();
price.activate();

the spinner widget get focus (highlighted border). But i wont be able to change the value
without clicking inside the spinner widget.

I want to be able to 
1.automatically focus in the widget and if 
2.user press any numeric key, it will clear the spinner value first then the value will be appear in the spinner widget.

How to do this?

Thank you.


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel