Hi Joe,
Thanks very much for the feedback. I've placed both your comments on the
wishlist 
RE: Percent
I was using a regex string to validate the percent. With rev 0.0.6, the
control now supports ranges so I'll change the autoformat for percent to use
a range (0.00->1.00) instead. Thanks for the headsup!
RE: Navigate to mask characters (like '/'):
Yeah, sigh. I've taken a couple cracks at this and it's been messy so far.
But I may wake up one of these mornings with the answer already in my head.
Hopefully!
Again, thanks for the feedback.
Regards,
Jeff Childers
jchilders_98@yahoo.com
路路路
-----Original Message-----
From: Joe Brown [mailto:joebrown@rclooke.com]
Sent: Friday, February 14, 2003 7:21 PM
To: Jeff Childers
Subject: Re: [wxPython-users] wxMaskedTextCtrl v0.0.5
Couple request for the controls:
Percent doesn't accept 100% or 1.00
when literals are present, specifically for date, the / literal when typed
should navigate the insertion point to the next section of entry. This
removes confusion when ppl type 1/1/99 for the date, but it's easier said
than done.
-Joe
I would show you the javascript I wrote to handle this, but after parusing
thru the masked edit code, I don't think it would be of use. The javascript
I developed was rudimentary.
Basically all it did: On invalid key pressed, check the next space's format
code, if it's a matching literal, advance insertion point. This leaves a
left justified number and a space in the entry, but thats easy to overcome
and makes sense to the operator.
It's not award winning logic, but works for the date application. It may
collide with other logic.
0 filling will probably be difficult to work out and I don't know if it's
prudent to implement such logic, it may not be what the operator would
expects.
Might be a good time to stop what your doing and figure out how to assign
values the masked fields. Frequently the use of these fields will be to
modify existing data. By the looks of it your concentrating only on input.
-joe
路路路
----- Original Message -----
From: "Jeff Childers" <jchilders@smartbusinessware.com>
To: "'Joe Brown'" <joebrown@rclooke.com>
Cc: <wxPython-users@lists.wxwindows.org>
Sent: Monday, February 17, 2003 8:27 AM
Subject: RE: [wxPython-users] wxMaskedTextCtrl v0.0.5
Hi Joe,
Thanks very much for the feedback. I've placed both your comments on the
wishlist 
RE: Percent
I was using a regex string to validate the percent. With rev 0.0.6, the
control now supports ranges so I'll change the autoformat for percent to
use
a range (0.00->1.00) instead. Thanks for the headsup!
RE: Navigate to mask characters (like '/'):
Yeah, sigh. I've taken a couple cracks at this and it's been messy so far.
But I may wake up one of these mornings with the answer already in my
head.
Hopefully!
Again, thanks for the feedback.
Regards,
Jeff Childers
jchilders_98@yahoo.com
-----Original Message-----
From: Joe Brown [mailto:joebrown@rclooke.com]
Sent: Friday, February 14, 2003 7:21 PM
To: Jeff Childers
Subject: Re: [wxPython-users] wxMaskedTextCtrl v0.0.5
Couple request for the controls:
Percent doesn't accept 100% or 1.00
when literals are present, specifically for date, the / literal when typed
should navigate the insertion point to the next section of entry. This
removes confusion when ppl type 1/1/99 for the date, but it's easier said
than done.
-Joe
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org