class PasswordField : public TextField


Hierarchy

CObject
WObjectClass
_ObjectClass
_RectObjClass
CoreClass
PrimitiveClass
TextFieldClass
PasswordField

#include <Xarm/PasswordF.h>

Callbacks

ModifyVerifyCallback

Resources

fillChar

enablePaste


Description

The PasswordField class is an Xarm enhanced TextField that allows text to be entered without echo. Instead of echoing the characters typed, a user-defined fillChar is displayed.The default fill character is the asterix (*). The fill character may be get/set using the fillChar() function. By default, only single character additions and deletions are allowed. This property may be queried and altered with the enablePaste() function. See the xpasswd example.

Caveats with GCC 2.7.2

The PasswordField class stores the password text in an ANSI C++ string variable. Because of type definition conflicts in GCC 2.7.2, PasswordF.h must be the first file included in any module that uses the PasswordField class.