• "Password" option
  • Limit
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Password (Property)
In french: Password
ODBCHFSQL ClassicNot available with these kinds of connection
The Password property can be used:
  • on the edit controls (or on the text table columns).
    In this case, Password is used you to:
    • find out whether an edit control is a "Password" control
    • modify (if necessary) the password type of an edit control.
    The "Password" option allows the user to type a text without this text being visible on the screen: all the characters typed are replaced with stars ("*").
    Remark: The "Password" type is an option that applies to the edit controls. This option is found in the "General" tab of the control description.
  • on the connections (HFSQL Client/Server, OLE DB, etc.).
    In this case, the Password property sets the password of the user using the connection. In this case, if the connection is currently opened, it will be closed and re-opened with the new parameters during the first access to a file that is using this connection.
    Remark: The connection can correspond to:
WEBDEV - Server codeAjax
// Is the "EDT_BankAccount" control a "Password" control?
ResPassword = EDT_BankAccount.Password
WEBDEV - Server codeAjaxHFSQL Client/ServerOLE DBNative Connectors (Native Accesses)
MyConnection is Connection
// Describe the connection
MyConnection.User = "USER"
MyConnection.Password = "PASSWORD"
MyConnection.Server = "MYSERVER"
MyConnection.Database = "Database"
MyConnection.Provider = hAccessHFClientServer
MyConnection.Access = hOReadWrite
MyConnection.ExtendedInfo = "Extended information"
MyConnection.CursorOptions = hClientCursor
WEBDEV - Server codeAjax

Finding out whether an edit control is a "Password" control Hide the details

<Result> = <Edit control>.Password
<Result>: Boolean
  • True if the specified control is a "Password" control,
  • False otherwise.
<Edit control>: Control name
Name of the edit control (or name of the Table column) to use.
WEBDEV - Server codeWEBDEV - Server codeWindowsLinuxAjaxHFSQL Client/ServerOLE DBNative Connectors (Native Accesses)

Defining the password used during a connection Hide the details

<Connection>.Password = <New password>
<Connection>: Character string
Name of the connection used. This name was defined:
<New password>: Character string
Password of the current user that will be used for the specified connection.
WEBDEV - Server codeAjax

"Password" option

The "Password" option only affects the display of the control content. The value of the control corresponds to the characters typed by the user (and not to the stars ("*")).
WEBDEV - Server codeAjax


The Password property applies only to:
  • the edit controls.
  • the text table columns.
Related Examples:
WD Password Complete examples (WINDEV): WD Password
[ + ] The WD Password example is a "password chest". It can be used to manage the passwords created when using Internet sites but also passwords created for everyday life (such as PIN numbers, ATM codes, ....).
The security of the data is guaranteed by the use of HFSQL encryption. Therefore, even if the files containing this information happen to be stolen, this information cannot be used without knowing the main password.
The example can also be used to generate very strong passwords.
WM Password Cross-platform examples (WINDEV Mobile): WM Password
[ + ] Web sites, bank accounts, ... passwords are everywhere in out life. With WM Password, no need to store all the passwords of your different accounts. The application stores all your passwords in a secure way. WM Password can also generate secure passwords for you.
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment