Dialog.AskPassword (gb.form.dialog)
Static Function AskPassword ( ) As Boolean
自从 3.11
Asks for a user identifier and a password, possibly remembering them.
If the
gb.settings and
gb.desktop components are loaded, and if the
Key property is set, then a checkbox will be displayed allowing to memorize the user identifier and the password. The user will be stored in the application default settings file, while the password will be stored in the desktop password wallet.
This method returns
TRUE if the user clicked on the "Cancel" button, and
FALSE if the user clicked on the "OK" button.
See also