Browse Subversion Repository
Annotation of /trunk/doc/en/html/macro/command/passwordbox.html
Parent Directory
| Revision Log
1 |
maya |
332 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
2 |
|
|
"http://www.w3.org/TR/html4/strict.dtd"> |
3 |
maya |
571 |
<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 |
yutakapon |
215 |
|
11 |
maya |
571 |
<body> |
12 |
|
|
|
13 |
|
|
|
14 |
maya |
480 |
<h1>passwordbox</h1> |
15 |
yutakapon |
215 |
|
16 |
maya |
571 |
<p> |
17 |
|
|
Displays a dialog box prompting the user to input a password. |
18 |
|
|
</p> |
19 |
yutakapon |
215 |
|
20 |
maya |
571 |
<pre class="macro-syntax"> |
21 |
|
|
passwordbox <message> <title> [<special>(optional)] |
22 |
|
|
</pre> |
23 |
|
|
|
24 |
|
|
<h2>Remarks</h2> |
25 |
|
|
|
26 |
maya |
480 |
<p> |
27 |
maya |
571 |
The <message> is displayed in the dialog box. The <title> is displayed as the dialog box title. |
28 |
|
|
</p> |
29 |
|
|
|
30 |
|
|
<p> |
31 |
|
|
The password typed by the user is not displayed as is.<br> |
32 |
yutakapon |
215 |
Instead, asterisks are displayed. The password is returned in the system variable "inputstr". |
33 |
maya |
480 |
</p> |
34 |
yutakapon |
215 |
|
35 |
maya |
480 |
<p> |
36 |
maya |
557 |
If <special> is non-zero, following strings in <message> is treated as spacial character.<br> |
37 |
|
|
If <special> is not specified then 1 is used. |
38 |
maya |
480 |
</p> |
39 |
|
|
|
40 |
maya |
571 |
<table> |
41 |
|
|
<tr> |
42 |
|
|
<th>input</th> |
43 |
|
|
<th>output</th> |
44 |
|
|
</tr> |
45 |
|
|
<tr> |
46 |
|
|
<td>\\</td> |
47 |
|
|
<td>"\"</td> |
48 |
|
|
</tr> |
49 |
|
|
<tr> |
50 |
|
|
<td>\n</td> |
51 |
|
|
<td>line feed</td> |
52 |
|
|
</tr> |
53 |
|
|
<tr> |
54 |
|
|
<td>\t</td> |
55 |
|
|
<td>tab</td> |
56 |
|
|
</tr> |
57 |
|
|
</table> |
58 |
maya |
480 |
|
59 |
maya |
571 |
<h2>Example</h2> |
60 |
yutakapon |
215 |
|
61 |
maya |
571 |
<pre class="macro-example"> |
62 |
|
|
<code>passwordbox 'Enter password' 'Login' |
63 |
|
|
</code></pre> |
64 |
|
|
|
65 |
|
|
</body> |
66 |
|
|
</html> |
|