开发者

wxPython: switching text control focus on tab press

开发者 https://www.devze.com 2023-01-12 02:19 出处:网络
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 ne

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

精彩评论

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