dos_getpassword

等价于LISP中getstring函数. 对话框显示密码编辑框控件.


语法

(dos_getpassword title message [default [length]])

参数

title

窗口标题.

 

message

提示消息.

 

default

默认值.

 

length

允许最多字符数.

返回

如果成功, 返回字符串.

nil 取消或出错时.

示例

Command: (dos_getpassword "Password" "Enter your password")

"password"