Thanks -- that definitely helped. Another problem I had, in another case, was
that the container object was stealing focus form its own child control. To
prevent this, I made the parent non-focusable. I believe you can set
"keepFocus" on the parent instead in this case. (keepFocus should really be
renamed to donNotStealFocus as far as I can tell from reading the qx
source.)
Dave
Ralf Nieuwenhuijsen-2 wrote:
>
> Hi Dave,
>
> I'm no expert at this, but focusing a widget within a qx.ui.window.Window
> has always been problematic.
> It might not be related to the widgets you add to the background at all.
>
> What I usually do is this:
>
> var w = new qx.ui.window.Window("blaaa");
> w.setLayout( new qx.ui.layout.VBox );
> var t = new qx.ui.form.TextField();
> w.add( t );
>
> // whenever the window appears, we focus the textfield
> w.addListener('appear', t.focus, t);
>
> -- Greetings
> -- Ralf ( @ gong.nl )
>
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Focus-issues-tp5342428p5346265.html
Sent from the qooxdoo mailing list archive at Nabble.com.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel