doswfpga
unread,Feb 18, 2018, 11:23:03 PM2/18/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wxPython-users
Hello,
I have an issue when use wxPython, as following code, I use style "wx.TE_PROCESS_ENTER" for Enter Event,
but when I also use "AutoComplete", the Enter Event will be recognized as select all contents of the TextCtrl.
I want to know how to use them both.
#------------------------------------
self.commandInput = wx.TextCtrl(parent=self.panel, id=-1, value='', style=wx.TE_PROCESS_ENTER)
self.commandInput.AutoComplete(choices=self.choices)
#------------------------------------
Thanks a lot,
D.S.F