Diana wrote:
Hi everyone,
I'm programming on the treo 650 and my application at times will request for
numerical input. Rather than having the user press the blue key to input
the numbers, is there a way to just let the keyboard know that input from
then on should be numeric?
Any help would be greatly appreciated.
If entering data into a field, you can set the NUMERIC bit on the field
in your resources. It will then only accept numeric data, and the OS
will automatically generate a '1' keydown event instead of an 'e'.
You can also set the state programmatically with the GrfSetState function
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/