I've done it all in one form handler. What I do is to put together
a form with one field on the top, and then put together a number of
push buttons (with the same control group, and each labeled by it's
key...I usually make it resemble a qwerty layout to keep it simple...
obviously you'd need to make several if you want to support different
language fonts, like Arabic/Hebrew/Kanji/etc.). Then in my event
handler, I have each button respond to a push event like so:
if( event->data.ctlEnter.controlID == PwEntryOnePushButton )
{
StrCat( InternalNumber, "1" ); // Store the actual value
StrCat( Echo, "*" ); // Add another placeholder to the
// echo out string
SetFieldTextFromStr( OutputOut1Field, Echo ); // Echo out the string
// using the nifty
// string output functions
// from the manual.
}
And so on with each key. Obviously, if you do a backspace, you have to
check to see if the string is empty, etc. It's not too hard, but it is
a bit tedious. Still, it's really user friendly.
Echo is the string that holds the echoed string, InternalNumber is the
number that the person is actually entering, etc. Fairly straightforward.
=)
-Rus
>Could you point us to any examples? (Post it in private if
>necessary :)
>
>Kind regards,
>Brian "Another One Interested in *'s"
>
>> -----Original Message-----
>> From: Nesse, Rustin [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, September 11, 2000 10:52 PM
>> To: Palm Developer Forum
>> Subject: RE: #### password Field Resource
>>
>>
>> Yep. You can do it by making my own little keypad, and echoing *
>> or # out to the field, while storing or encrypting the data as you
>> go. With each letter/button pressed, I reupdate the string in the
>> field.
>>
>> -Rus
>>
>> >-----Original Message-----
>> >From: Bruno Galvao [mailto:[EMAIL PROTECTED]]
>> >Sent: Monday, September 11, 2000 1:48 PM
>> >To: Palm Developer Forum
>> >Subject: #### password Field Resource
>> >
>> >
>> >Hi,
>> >anyone could tell me whether it�s possible to make a normal Field UI
>> >component act like those fields that replace the characters
>> >typed with the
>> >character '#' in order to hide the password being typed ?!
>> >
>> >Thanks
>> >
>> >
>> >--
>> >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/
>
>--
>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/