IMHO tabIndex is designed like the standard behavior of the browser.
So If wish to like a new order just feel free to set tabIndex.
If you want to do a automatic function you could get all children of root, for
example all groupboxes, and set tabIndex for their focusable child widgets.
Regards Sak
Von meinem iPhone gesendet
Am 16.11.2011 um 10:32 schrieb Jeroen Smit <[email protected]>:
> Hi,
>
>
>
> I think you mean the tabIndex property. Is that right?
>
> Looking at the code in the FocusHandler I can see that only the controls
> within a root are compared.
>
> I would like the tab behaviour I know from various other apps:
>
> - Tabbing first visits the children in a “root”/container
>
> - When the last child is reached, jump to the first child of the next
> control
>
> - After the last child of the last “root” jump to the first child of
> the first root.
>
>
>
>
>
> I guess this is not possible, so I should make (for example) my window one
> root and provide a tabIndex for all the widgets instead of relying on the
> focus root.
>
> Is that right?
>
>
>
> Best regards,
>
> Jeroen
>
>
>
> From: Mustafa Sak [mailto:[email protected]]
> Sent: Wednesday, November 16, 2011 8:02 AM
> To: qooxdoo Development
> Subject: Re: [qooxdoo-devel] Question about FocusHandler and focusroot
>
>
>
> Hi Jeroen,
>
>
>
> Did you use setFocusIndex to define new tab order?
>
>
>
> Regards Sak
>
> Von meinem iPhone gesendet
>
>
> Am 15.11.2011 um 16:16 schrieb Jeroen Smit <[email protected]>:
>
> Hi,
>
>
>
> I am investigating how to use the “addRoot” on the FocusHandler but I don’t
> seem to get it to work as I would like.
>
> On a window I have created several “sections” of components (using
> qx.ui.container.Composite). When the user presses “TAB” I would like to visit
> all controls in the section of the focused control. When the last control is
> reached I expect TAB to jump to the first control of the next section. This
> is not the case and TAB jumps back to the first control in the section. The
> same goes for reversing the tab-order using SHIFT. Only after the last
> control in the last “root” is focused and TAB is pressed I expect to jump to
> the first control in the first section again.
>
>
>
> Looking at the code in qx.ui.core.FocusHandler I don’t see how I could get
> this to work because you see to visit only control in one “root”.
>
> Is this a bug or do I need to implement this differently?
>
>
>
> I hope you can tell me what I am doing wrong here.
>
> Met vriendelijke groet,
> Kind regards,
>
> Jeroen Smit
> Expert Software Engineer
>
> ORTEC | Groningenweg 6k | PO Box 490 | 2800 AL Gouda | The Netherlands
> Tel.+31 (0) 182 540 500 | Fax +31 (0) 182 540 540 | [email protected] |
> www.ortec.com
>
> P Please consider the environment before printing this e-mail
>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel