[wxpython-users] How to enable tab traversal cross panels?

Can Xue xuecan at gmail.com
Sat May 3 18:07:05 PDT 2008


It works! Thank you!

2008/5/4 Robin Dunn <robin at alldunn.com>:
> Can Xue wrote:
>
> > With a wx.TAB_TRAVERSAL flag, a wx.Panel can enable tab traversal.
> > But the tab traversal cycle is confined in that panel.
> > Below is a small sample to show this, when a user press TAB in TextCtrl
> '1-5',
> > the input focus will go to TextCtrl '1-1' but I hope it will be '2-1'.
> > So my question is how to enable tab traversal cross panels?
> >
>
>  Try making the parent of the panels be another panel, instead of having
> them be direct children of the frame.
>
>  --
>  Robin Dunn
>  Software Craftsman
>  http://wxPython.org  Java give you jitters?  Relax with wxPython!
>
>  _______________________________________________
>  wxpython-users mailing list
>  wxpython-users at lists.wxwidgets.org
>  http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
>


More information about the wxpython-users mailing list