A simple solution is to watch for a key down event for that field and queue a user event "post key down" that you can then use to check the number of characters and switch focus. This way you don't have to worry about any filtering or special keys, i.e. backspace. You should probably also watch for the changed event that results from the user using the SIP instead of normal character entry.

Diana wrote:
I have two text fields to enter data in. I've put the cursor on the first text field.

What I want to do is, when the user has entered in maximum # of characters into the first text, it will switch to the second text field automatically.

Can this be done and how?

Thanks for your help.



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to