[wxPython-users] wx.TextCtrl Clear() adds character entered unless
use Delete.
Werner F. Bruhin
werner.bruhin at free.fr
Fri Aug 3 06:13:33 PDT 2007
Hi David,
david wrote:
> I just found this anomaly. I have a TextCtrl that I don't want the user
> editing unless they edit another box first. So I have a wx.EVT_TEXT on the
> TextCtrl, get some other box values to see if user is editing and get the
> value in the TextCtrl don't want edited. If the other values didn't change
> I know they are editing the wrong box fist, so popup a message dialog
> telling them to edit another box first. Then put the original value back
> in the TextCtrl box.
>
Why not disable the textctrl until user has entered data into the second
textctrl?
Werner
More information about the wxpython-users
mailing list