DXL中的用户密码 - 对话框
我需要在DXL程序中输入密码。我已经看到有一些功能可以执行此操作(createPasswordDialog
或cresencypassworddialog
有些),但是我感兴趣的是显示一个普通的对话框(<<代码>字段),但使用加密字符,也就是说,不要显示或显示典型的“*”。
有什么办法吗?感谢您的帮助
)
I need to enter a password in a DXL program. I have seen that there are some functions to do this (createPasswordDialog
or confirmPasswordDialog
are some), but what I would be interested in would be to show a normal dialog box (field
) but with the encrypted characters, that is, not to show them or show the typical "*".
Is ther any way to do it? Thanks for the help
)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我还没有看到这一点 - 但是也许您可以使用Perm
setTextChangecb
,每次按键都会被触发 - 但是我认为只有在显示按压字符后才触发它。因此,您可以实现诸如“每次用户按键时,将其添加到存储的密码中,并用适当数量的星号替换字段本身的内容”(但是您必须为BackSpace键找到解决方案)I have not seen this - but perhaps you can use the perm
setTextChangeCB
which will be triggered every time that a key is pressed - but I think it will be triggered only after the pressed character is shown. So you could implement a behaviour like "every time a user presses a key, add this to the stored password and replace the content of the field itself with an appropriate number of asterisks" (but you will have to find a solution for the backspace key)