Robert Moynihan wrote:

> He probably meant "concat the chars" into a hidden character buffer
> somewhere, THEN replace them in the field string.  Bob.

In that case, what happens when the user enters 3 or 4 characters,
realizes they've made a mistake, then selects all the asterisks
in the field and hits backspace, then starts over?  The hidden
character buffer will then be out of sync with what's really in
the field.  But the user has entered the password correctly, and
yet when they hit the "Login" button (or whatever), it doesn't work.
Then starts fresh (or so they think) by erasing the field (drag
select everything then hit backspace), then enters the password
again, and it *still* doesn't work.

For the shadow character buffer method to work, you have to either
find a way to track everything that can happen to the field, or
you need to somehow disable features of fields like cutting and
pasting text.

  - Logan

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

Reply via email to