开发者

Making a Ctrl-F Feature for wx.TextCtrl

开发者 https://www.devze.com 2023-03-06 12:09 出处:网络
I\'m attempting to make a Ctrl+F (Find) feature for a wx.TextCtrl widget. However I\'m unsure of how to highlight certain indexes/phrases. How would I go ab开发者_StackOverflow社区out this? How about

I'm attempting to make a Ctrl+F (Find) feature for a wx.TextCtrl widget. However I'm unsure of how to highlight certain indexes/phrases. How would I go ab开发者_StackOverflow社区out this?


How about wx.TextCtrl.SetSelection(from, to)

0

精彩评论

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