Event from TextCtrl when user changes value

I realize that EVT_TEXT can be used to trigger a text change within a
TextCtrl, however
I need to do something whenever ONLY the user changes the value. The
reason is, that
sometimes I programmatically change the value of the TextCtrl and I
then do NOT want
to cause this event to be triggered.

Is there any easy way to do this?
Thanks
David

If you don't want the event to be triggered by your code, then use
ChangeValue instead of SetValue.

ยทยทยท

On Aug 5, 9:10 am, dubiboy <david.we...@gmail.com> wrote:

I realize that EVT_TEXT can be used to trigger a text change within a
TextCtrl, however
I need to do something whenever ONLY the user changes the value. The
reason is, that
sometimes I programmatically change the value of the TextCtrl and I
then do NOT want
to cause this event to be triggered.

Is there any easy way to do this?
Thanks
David

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org