Rob,

>Does anyone know a way of having asterisks appear in a text field when a user 
>types in a password? 

Create a custom font, leaving out virtually all glyphs except the default glyph
(number -1).  For it, instead of supplying an open rectangle like is customary
on the device, supply an asterisk.  Follow the normal methods for initializing
the font at runtime, and set the field to the custom font.

You can use freeware such as xFont to create the font glyph file, or just use a
text editor since you only need one character.  Then use PilRC to create the
font resource, or if already using a *.rcp resource file, add the FONT
declarations to it.

See the PilRC manual for more information on custom fonts, and optionally google
for xFont.

Doug

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

Reply via email to