Re: [wxPython-users] Tab question
by Mike C. Fletcher other posts by this author
Mar 25 2003 12:24AM messages near this date
Re: [wxPython-users] Tab question
|
Re: [wxPython-users] Tab question
I'm not sure if it's wrapped to be overridable by Python windows, but
this works with the wxcontrolcontainer verison I posted a while ago, and
I _think_ it should work with the real wxControlContainer from
wxPython/wxWindows:
def AcceptsFocusFromKeyboard(self):
"""This control should never accept focus"""
return false
for the controls you don't want to accept focus. Afraid I'm too busy
getting ready to leave for the conference to check it, but hopefully
it'll help.
Enjoy,
Mike
Robin Dunn wrote:
> Ilia Kats wrote:
>
> > Hi all,
> >
> > I have some controls grouped in some panel. I want some of them to be
> > skipped when presseing TAB. Can I do it somehow without catching the
> > wxSET_FOCUS event or/and without changing the wxPanel to some other
> > ctrl?!?
>
>
> You could disable the controls, but that probably isn't what you want.
> I've often thought that having a SetAcceptsFocus(bool) method would be
> nice, but that isn't in there (yet) either...
_______________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://members.rogers.com/mcfletch/
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@[...].org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
Thread:
Ilia Kats
Robin Dunn
Mike C. Fletcher
Robin Dunn
|