Manpreet Singh wrote:
Doug wrote:
Create a custom font, but don't define the regular characters and instead
of a
box provide an asterick as the glyph to use when the character is not
defined.
Thanks for the idea, but can we have some simple idea than this - like,
capturing the "virtual keyboard events" (if any)
Manpreet
Right, you seem to have an idea how to do this yourself. You don't need
to worry about editing the characters in the middle of the field,
because the user won't be able to see what they are anyway, so maybe you
don't need a field at all. You could just capture the keyDown events,
and process them. Decide if the keyDown is valid for your application
(maybe only alpha characters, or numbers too) and if so concatenate them
to a string buffer you have set up. Instead of letting a field draw
itself, just draw characters to the screen yourself, one "*" for each
character in the string buffer. Something like that might do what you
want. Bob.
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/