Re: [qooxdoo-devel] selectAll() on focus doesnt work
Brought to you by:
ecker,
martinwittemann
From: Raul G. S. <rg...@id...> - 2008-02-29 19:39:49
|
Thanks for the answer! But.. it seems hacky :) Do you think we should try to do it from inside the framework (if possible) cleaning up any extra call to setSelectLength and submitting a patch?? Depending on timers, on the long run could be bad.. On Fri, 2008-02-29 at 09:46 +0000, bibliograph wrote: > Sorry, of course you need to set the timeout to a number of > milliseconds, such as 100... > > bibliograph schrieb: > > > > > > this.addEventListener("focus",function (e) { > > _this = this; > > qx.client.Timer.once(function(){_this.selectAll()},100); > > },this); > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > qooxdoo-devel mailing list > qoo...@li... > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel -- --------------------------- Raúl Gutierrez S. Investigación y Desarrollo Taller de Ideas S.A. |