salam , I have a problem in hide password in GUI can any one to help me my problem( I can write **** in my edit text but when press in backspace show* don't delele ) please help me .
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
salam , I have a problem in hide password in GUI can any one to help me my problem( I can write ** in my edit text but when press in backspace show* don't delele ) please help me .
0 commentaires
Réponses (2)
Morteza
le 25 Fév 2013
Modifié(e) : Morteza
le 25 Fév 2013
your edit accept string that has the specific length: try this: find your Edit box Tag and place it instead of : 'your edit box Tag'
%.................................................
STR = get(findobj('Tag','your edit box Tag'),'string');
%When you press backspace
STRn = STR(1:end-1);
set(findobj('Tag','your edit box Tag'),'string',STRn);
%Whenever you push the backspace the last character will be eliminated
0 commentaires
Voir également
Catégories
En savoir plus sur Convert Image Type dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!