TAB_TRAVERSAL not looping

Hello

I've a problem with TAB focus in a panel. Pushing the TAB key makes focus going to the next control. When the last control is reached focus stays there. I can push several times without effect. It doesn't go to "hidden" controls because if I press Shift+Tab focus goes to the previous control.

Does someone know why the focus doesn't loop and return to the first control ?

Thanks.

Here are the standard responses: Python version, wxPython version,
platform, runnable example of the problem. Without those, it's harder
to answer the question.

Tab order usually happens in order of control creation, unless you are
using MoveAfterInTabOrder or MoveBeforeInTabOrder in your code. These
are derived from the Window class.

Josh

···

On Mon, Jan 19, 2009 at 7:05 AM, le dahut <le.dahut@laposte.net> wrote:

Hello

I've a problem with TAB focus in a panel. Pushing the TAB key makes focus
going to the next control. When the last control is reached focus stays
there. I can push several times without effect. It doesn't go to "hidden"
controls because if I press Shift+Tab focus goes to the previous control.

Does someone know why the focus doesn't loop and return to the first control
?

Thanks.
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

--
Josh English
Joshua.R.English@gmail.com

le dahut wrote:

Hello

I've a problem with TAB focus in a panel. Pushing the TAB key makes focus going to the next control. When the last control is reached focus stays there. I can push several times without effect. It doesn't go to "hidden" controls because if I press Shift+Tab focus goes to the previous control.

Does someone know why the focus doesn't loop and return to the first control ?

What is the context of the panel, IOW, what are its parents and what other siblings does it have? What kind of controls are on the panel?

This will help too: http://wiki.wxpython.org/MakingSampleApps

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote :

le dahut wrote:

Hello

I've a problem with TAB focus in a panel. Pushing the TAB key makes focus going to the next control. When the last control is reached focus stays there. I can push several times without effect. It doesn't go to "hidden" controls because if I press Shift+Tab focus goes to the previous control.

Does someone know why the focus doesn't loop and return to the first control ?

What is the context of the panel, IOW, what are its parents and what other siblings does it have? What kind of controls are on the panel?

This will help too: http://wiki.wxpython.org/MakingSampleApps

There is a frame containing a notebook which contains a panel.
On this panel there are wx.Choice, wx.Button, wx.Checkbox, wx.StatixText, wx.CheckListBox

The notebook has 3 pages. Each page has the same behavior (tab not looping but stopping at the last build control)

I use :
python-2.5.2.msi
wxPython2.8-win32-unicode-2.8.9.1-py25.exe
boa-constructor (latest trunk)

Thank you for your help.

le dahut wrote:

Robin Dunn wrote :

le dahut wrote:

Hello

I've a problem with TAB focus in a panel. Pushing the TAB key makes focus going to the next control. When the last control is reached focus stays there. I can push several times without effect. It doesn't go to "hidden" controls because if I press Shift+Tab focus goes to the previous control.

Does someone know why the focus doesn't loop and return to the first control ?

What is the context of the panel, IOW, what are its parents and what other siblings does it have? What kind of controls are on the panel?

This will help too: http://wiki.wxpython.org/MakingSampleApps

There is a frame containing a notebook which contains a panel.
On this panel there are wx.Choice, wx.Button, wx.Checkbox, wx.StatixText, wx.CheckListBox

The notebook has 3 pages. Each page has the same behavior (tab not looping but stopping at the last build control)

I use :
python-2.5.2.msi
wxPython2.8-win32-unicode-2.8.9.1-py25.exe
boa-constructor (latest trunk)

Have you changed the style of the notebook or done anything else to it that might interfere with tab traversal or key handling? If that doesn't spark any ideas then please make a sample for us to look at.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!