Prompts the user for a password with a customizable password dialog.
- Parameters
-
- PromptStr
- A string displayed in the body of the dialog
- TitleStr
- An optional string to change the title of the dialog
- DefaultStr
- An optional string to set the default value in the dialog
- Returns
- An encrypted password string that the user entered, or an empty string if the user
cancelled the dialog.
- Example
-
Set bzhao = CreateObject("BZWhll.WhllObj")
bzhao.Connect
password = bzhao.PasswordBox( "Enter password: " )