No need to validate anything. I believe if you set the field to numeric,
both graffiti and the keyboard will block out anything other than numbers.
Unfortunately this also includes -/+
----- Original Message -----
From: "Igor Mozolevsky" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, July 17, 2001 1:41 PM
Subject: Re: keyDownEvent question
>
>
> --On 17 July 2001 11:11 -0500 Jeremy Nuss <[EMAIL PROTECTED]> wrote:
>
> > Hello everyone, I have a problem. I am trying to limit a user to only
> > typing numerical characters into a text field (and the backspace). I
have
> > done this using the keyDownEvent, however it only works for graffiti...
if
> > the user pops up the virtual keyboard they can type in any character
they
> > want. I have looked through the reference, palm OS bible, and Niel
> > Rhodes' book, but I can't find any information on how to control the
> > virtual keyboard input. Any ideas? Thanks for you time!
>
> Call me stupid but, wouldn't it be simpler/faster/more efficient just to
> validate input after the data is entered???
>
>
> IM
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/