feature: variable width masked controls
wxpython-dev.lists.mzs at spamgourmet.com
wxpython-dev.lists.mzs at spamgourmet.com
Fri Aug 4 19:52:52 PDT 2006
Hi,
I have an idea for a feature. The masked TextCtrl is very nice and
incredibly powerful. I only wish it had a way for variable width masks.
Here is what I mean, say you could have a mask of 'C{0-9}' that would
mean from 0 to 9 characters. Then the text control could contain '' for
example.
I was very excited when I used fillChar = '' and got almost what I
wanted. Then I looked at the source and saw that this will really not
work.
To make a wx.TextCtrl support masks while dealing with things like
pasting would make me redo much of what is already done in the masked
TexCtrl.
Possibly there is a way to do what I wish that I have not stumbled
across?
Thanks,
mzs
More information about the wxpython-dev
mailing list