Hello, I'm trying to get text from TextCtrl, but I can not do this.
Can someone help me?
Hi,
···
On Sun, Dec 27, 2009 at 3:11 AM, dom3nico domenico_conti@alice.it wrote:
Hello, I’m trying to get text from TextCtrl, but I can not do this.
Can someone help me?
What are you doing to get the text? Do you see an error? Which OS are you using? Which wxPython and Python versions?
Normally, you just have a text control set up like this:
self.MyTextCtrl = wx.TextCtrl(myPanel)
Then you call the GetValue() method, like this:
self.MyTextCtrl.GetValue()
That’s all there is to it.
Mike Driscoll