Hello,
I am dealing with wx.TextCtrl and when grabbing the value I need to do
some validation on it. The validation could be anything, it is defined
by the user. Example, the validation might be a function that verifies
the value is an integer greater than 0 or a function that verifies if
the value is a string containing negative integers.
I was wondering how wxpython users generally use unicode strings to do
validation. Would regular expression be the best? I read this post :
http://groups.google.ca/group/wxpython-users/browse_thread/thread/85a06fd9d4145f70/a76e920c4bcba5cc?lnk=gst&q=validate+TextCtrl+unicode#a76e920c4bcba5cc
but they suggest to use IntCtlr, which isn't a solution to me, because
the control I must use is a TextCtrl.
Any ideas or suggestions on how to deal with this ?
Cheers,