| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 |
"http://www.w3.org/TR/html4/strict.dtd"> |
| 3 |
<html> |
| 4 |
<head> |
| 5 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 6 |
<title>passwordbox</title> |
| 7 |
<meta http-equiv="Content-Style-Type" content="text/css"> |
| 8 |
<link rel="stylesheet" href="../../style.css" type="text/css"> |
| 9 |
</head> |
| 10 |
|
| 11 |
<body> |
| 12 |
|
| 13 |
|
| 14 |
<h1>passwordbox</h1> |
| 15 |
|
| 16 |
<p> |
| 17 |
Displays a dialog box prompting the user to input a password. |
| 18 |
</p> |
| 19 |
|
| 20 |
<pre class="macro-syntax"> |
| 21 |
passwordbox <message> <title> [<special>] |
| 22 |
</pre> |
| 23 |
|
| 24 |
<h2>Parameters</h2> |
| 25 |
|
| 26 |
<dl> |
| 27 |
<dt class="macro">string <message></dt> |
| 28 |
<dd>It is displayed in the dialog box.</dd> |
| 29 |
|
| 30 |
<dt class="macro">string <title></dt> |
| 31 |
<dd>It is displayed as the dialog box title.</dd> |
| 32 |
|
| 33 |
<dt class="macro">integer <special> (optional default=0)</dt> |
| 34 |
<dd>If it is non-zero, following strings in <message> is treated as spacial character.<br> |
| 35 |
<table border="2"> |
| 36 |
<tr> |
| 37 |
<th>input</th> |
| 38 |
<th>output</th> |
| 39 |
</tr> |
| 40 |
<tr> |
| 41 |
<td>\\</td> |
| 42 |
<td>"\"</td> |
| 43 |
</tr> |
| 44 |
<tr> |
| 45 |
<td>\n</td> |
| 46 |
<td>line feed</td> |
| 47 |
</tr> |
| 48 |
<tr> |
| 49 |
<td>\t</td> |
| 50 |
<td>tab</td> |
| 51 |
</tr> |
| 52 |
</table> |
| 53 |
<b><u>This option is obsolete. You are recommended to use the strspecial command.</u></b> |
| 54 |
</dd> |
| 55 |
</dl> |
| 56 |
|
| 57 |
<h2>Return Value</h2> |
| 58 |
|
| 59 |
<dl> |
| 60 |
<dt class="macro">System variable <inputstr></dt> |
| 61 |
<dd>The string entered by the user is returned.</dd> |
| 62 |
</dl> |
| 63 |
|
| 64 |
<h2>Remarks</h2> |
| 65 |
|
| 66 |
<p> |
| 67 |
The password typed by the user is not displayed as is. Instead, asterisks are displayed. |
| 68 |
</p> |
| 69 |
|
| 70 |
<h2>Example</h2> |
| 71 |
|
| 72 |
<pre class="macro-example"> |
| 73 |
passwordbox 'Enter password' 'Login' |
| 74 |
</pre> |
| 75 |
|
| 76 |
<h2>See also</h2> |
| 77 |
<ul> |
| 78 |
<li><a href="inputbox.html">inputbox</a></li> |
| 79 |
<li><a href="listbox.html">listbox</a></li> |
| 80 |
<li><a href="setdlgpos.html">setdlgpos</a></li> |
| 81 |
<li><a href="strspecial.html">strspecial</a></li> |
| 82 |
<li><a href="yesnobox.html">yesnobox</a></li> |
| 83 |
</ul> |
| 84 |
|
| 85 |
</body> |
| 86 |
</html> |