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
)
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)