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 )
2010/7/27 Dave Baggett <[email protected]>:
>
> I'm trying to understand the nuances of focus in QooxDoo. I have a modal
> login window which I want to come up with the user name field focused,
with
> a blinking cursor. In the background, after I put up the login window, I
> create various other widgets. It seems that when I do this, the focus is
> automatically taken away from the text field. What I'd like is for the
focus
> and cursor to be removed only upon user action. Is there some property I
can
> set on the text field to prevent it from yielding focus? I tried keepFocus
> and keepActive, but I cannot figure out what those are supposed to do (any
> the didn't help).
>
> Dave
>
> --
> View this message in context:
http://qooxdoo.678.n2.nabble.com/Focus-issues-tp5342428p5342428.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://ad.doubleclick.net/clk;226879339;13503038;l?
> http://clk.atdmt.com/CRS/go/247765532/direct/01/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
------------------------------------------------------------------------------
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://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel