By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,940 Members | 1,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,940 IT Pros & Developers. It's quick & easy.

Setting Focus in WxTextCtrl

P: n/a
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 will do
this, but I can't find anything similar in the places I've looked so far.
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.