Greetings,
My application has a log in screen and requires the option of masking the password field. Since I see no way of getting this behaviour for free from a Field object, I've gone down the road of intercepting the keydown event, storing the character in an array, replacing the character with a '*' like this: eventP->data.keyDown.chr = '*' and returning false so the system updates the field.
This works great until the user puts the insertion point somewhere other than the end of the text and hits backspace or enters new text or highlights text and pastes text and... well the list seems to keep growing as I figure out how to deal with each user action.
I feel like I'm reinventing the wheel here (and so far my wheel is less than round...) Is there a better way?
Thanks,
Dana
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
