Hi Will,
Copacetic on all your comments. Attached find a version 007rc1. It is
working nicely, except for Paste (grr).
I'll hold off on further development till I hear back from you.
This is great, I am really looking forward to seeing your enhancements. You
can send it back to me in whatever state if you run out of steam or it warms
up outside or whatever By the way, it sound C*O*L*D up there, my thin
Florida blood shivers in sympathy!
Hmm, thinking about it, I'll attach the 006 version as well, just in case I
fubar'd 007 somehow recently.
Stay indoors and near the fire!
Jeff
wxMaskedTextCtrl006.py (61.9 KB)
wxMaskedTextCtrl007rc1.py (76.9 KB)
···
-----Original Message-----
From: Will Sadkin [mailto:wsadkin@nameconnector.com]
Sent: Monday, February 17, 2003 4:21 PM
To: 'wxPython-users@lists.wxwindows.org'
Subject: RE: [wxPython-users] wxMaskedTextCtrl v0.0.5
Jeff Childers wrote:
>> For example, say you have an IP address control, of the form:
###.###.###.###This is a tricky one (I've thought about it). Might be a good
candidate for a subclassed version of the control.
I agree, and it would be a far simpler candidate for such a
derivation than say, wxTimeCtrl, as a means of evaluating at
how easy your control is to use as a base class.
>> ..delete char...
Replacing the next char with blank sounds like a good idea. Kind of a
backwards Backspace key?
Yeah, but without the associated cursor movement that accompanies
backspace, as people type from left to right...
>> They want 10/10/2003. But they might get 01/01/2003
>> [...]
Only 2-9 in the first month position or 4-9 in the first day
position would trigger the automatic behavior.
Ie. "it already does what I said." Cool.
>> If you like, I can try to modify your next version for you as
>> at least a template on how to do this.A small sample to illustrate the options might be great. I
wouldn't try the full re-write unless you a *really* motivated
(and if so, let me know and I'll get you 007 as soon as its ready,
otherwise just use 006 to illustrate the method).
Er, I never got the message containing the attachment for v006;
I saw replies about it, but I just thought that was a typo in a
subject line. The archive shows it was posted Sunday at 11:20am,
but unfortunately doesn't preserve the attachment. Interestingly,
the ASPN archive, which *does* preserve attachments, also is
missing the missive, so perhaps it got scragged at the redistribution
end... (?!?) Anyway, could you either repost it or send me a private
copy?
(I doubt it will be a full rewrite; just a redistribution of code.)
As for motivation, I'm currently stuck in a blizzard here in
New England, so I've got a little time... and this is more fun
than shovelling!
Regards,
/Will Sadkin
Parlance Corporation
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org