开发者

wxPython: switching text control focus on tab press

I made a frame that asks the user to put in a bunch of information in several text control fields. How can I make it s开发者_如何学Pythono that when you hit the 'tab' key your cursor moves to the next text control?


If you put a wx.Panel as the only child of the ScrolledWindow and put the other widgets on the panel, then it should work automatically. You could also use ScrolledPanel instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜