Re: Setting Focus in WxTextCtrl

2004-12-08 Thread Greg Krohn
LutherRevisited wrote: I know in .NET text boxes have a focus method which will do this, but I can't find anything similar in the places I've looked so far. wxPython does, in fact have such a method. It's called SetFocus. It's actually a wx.Window method, so all controls have it. hth greg -- http

Setting Focus in WxTextCtrl

2004-12-08 Thread LutherRevisited
I'm wanting to know how I would go about setting the focus to the next text field after I press enter. I'm guessing it's gonna be EVT_TEXT_ENTER(yada yada) calling some function which will move the focus, but I don't know how to move the focus. I know in .NET text boxes have a focus method which