Article # 167, added by Geoworks, historical record
| first | previous | index | next | last |

Use the Bison font for password entry




Q. How to implement a password entry field in a GenText object?

A. There's a font that displays "*" no matter which character you type.
It is the 13 point Bison font. You can set the character attributes 
of the GenText object using FID_BISON.

@chunk VisTextCharAttr Bison13CharAttr = CHAR_ATTR_FONT_SIZE(FID_BISON, 13);

You might also consider making sure the text object does not allow 
cut/copy so the password can not be copied to the clipboard and pasted
somewhere else as another font (thus displaying the password).