key event 2

Date: Tue, 02 Mar 2004 11:29:32 -0800
To: wxPython-users@lists.wxwindows.org
From: Robin Dunn <robin@alldunn.com>
Subject: Re: [wxPython-users] key event 2
Message-ID: <4044E09C.5090804@alldunn.com>

NighTiger wrote:
> Hi,
> I have see the example but I haven't understand how can I insert the
> event key in my application.

Can I assume you mean how to insert a string in a wxTextCtrl? (Please
always give enough details in your messages for us to actually answer
your question without having to read your mind.)

If you have a value you want to insert or set into a wxTextCtrl then
just call the wxTextCtrl's methods that update its value. For
example,

  self.text.SetValue(newValue)

or

  self.text.WriteText(stringToInsert)

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

no, my problem is another...
I don't know how can I insert the key event into my application.

I would like to control some buttons for insert a text into a wxTextCtrl