Hiding text of a string (like passwords)

I need to set an "Edit Text" as a password input area, and I want the text entered by users is not visible, but replaced by symbols.
I think it's necessary to have two files, one with the actual passwords and one with the "encryption", in order to compare the real password and login
Do you have any idea on how to set up work?
Thanks in advance!

1 Commento

Even if I used another way, you tried to help me!
Thanks!

Accedi per commentare.

 Risposta accettata

Naz
Naz il 3 Dic 2011

4 Commenti

Uhm... Yes, the video shows exactly what I need, but there is no information about how to set it in a gui... I tried inserting "logindlg" in my password area callback but it doesn't work...
Right under the video there is a link to get a file.
There is a function 'KeyPress_Function' almost at the end of the script
Thanks for the indication... I'll try it and if it works, I'll accept your answer!
I'm going to sleep (in Italy are 03.00 AM) xD

Accedi per commentare.

Più risposte (0)

Categorie

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by