[wxPython-users] wx.EVT_TEXT_ENTER
Aigars
srad at inbox.lv
Tue Feb 5 09:43:46 PST 2008
On Tuesday 05 February 2008 19:13:48 Andrea Gavana wrote:
> You need to pass wx.TE_PROCESS_ENTER style to your wx.TextCtrl,
> otherwise no processing of the "Enter" key is possible.
>
> self.text_Date = wx.TextCtrl(self.panel_1, -1, "",
style=wx.TE_PROCESS_ENTER)
>
Thank you, now it looks like working.
Some more questions:
1) No wx.TE_PROCESS_ENTER was needed on Windows version of wxPython. If I
rewrite code with wx.TE_PROCESS_ENTER, will it work on Windows?
2) If i want to confirm update of TextCtrl with any of keys [Tab, Enter,
Arrow] what I should pass to TextCtrl before that?
Aigars
More information about the wxpython-users
mailing list