Displays a message box with a password non-display input field
ret = MsgBoxGetPassword (MessageString)
ret | String, output |
The string that is entered into the dialog box by the user. | |
MessageString | String, input |
The string that is displayed as the message in the dialog box. |
As the user enters the text, the asterisks character is displayed instead of the actual character that is typed.
This is a PASSPORT function.
Sub
ZMain()
strPassword=MsgBoxGetPassword("Please enter your password:")
MsgBox "Your password is: "&strPassword
End Sub