ask password | |||||||||||||
Type | command | ||||||||||||
Dictionary | LCS | ||||||||||||
Library | LiveCode Script | ||||||||||||
Syntax |
| ||||||||||||
Summary | Displays a dialog box like the ask command, but with the characters the user types displayed as asterisks (*) for privacy. | ||||||||||||
Introduced | 1.0 | ||||||||||||
Changes | 'ask password clear' set to the default behavior at version 6.0.0 to provide compatibility across all platforms. The 'ask password...as sheet' form was introduced in version 2.0. | ||||||||||||
OS | mac, windows, linux, ios, android | ||||||||||||
Platforms | desktop, mobile | ||||||||||||
Parameters |
| ||||||||||||
Example |
| ||||||||||||
Values |
| ||||||||||||
Related | Keyword: it Property: password Command: ask Function: result, mcEncrypt Control Structure: function Glossary: modal dialog box, dialog box, variable, command, return, encrypt | ||||||||||||
Description | Use the ask password command to provide privacy for the information the user types. For example, if the user is in a public place, the information might be seen by someone looking over his or her shoulder. This command does not encrypt the text the user types, but you can use ask password to implement a secret password with the syntax shown in the example section. If the ask password...as sheet form is used, the dialog box appears as a sheet on OS X systems. On other systems, the as sheet form has no effect and the dialog box appears normally. Attempting to open a sheet from within another sheet displays the second stack as a modal dialog box instead.
| ||||||||||||
Tags | windowing |