# Password Control

toolslib\custctrl\pwctrl.fp

This instrument driver provides functions for creating and manipulating password controls.

A password control is like a string control except that the password control displays the string that the user types using a mask character so the password cannot be read as the user types it.

The functions in this class are the only functions intended to work for password controls, except for DiscardCtrl, which discards password controls as well as standard user interface controls. However, you are free to experiment with the other functions in the User Interface Library since many of them operate on password controls successfully. For example, you can use SetCtrlAttribute(panel, passwordCtrl, ATTR_WIDTH, width) to set the width of a password control.

The functions in this instrument driver are multithread-safe.