> In your keyDownEvent event handler do: > > [...] But that, of course, doesn't prevent the user from entering something like "1-2.3-...24----24", so you'd still need to write code to validate that what was entered is actually a valid number, i.e.,
- minus character is at the beginning if used at all - only one decimal "point" if any at all - thousand separators in right place (if you want to support those ... Oliver __________________________________________________ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
