How to set a particular font in a Edit Text Area
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi everybody!
I bypassed my problem with passwords creating a new font, made by '•': now I have to set it in an area where to insert password... I tried insert it using set
set(handles.TAG, 'FontName', 'MyFont');
without results. I also tried setting it in the Ispector, but it doesn't work and I always see the standard font...
Someone told me there's a specific directory in Matlab in which I have to put my font... It's true?? And what's the name of the directory?
Thank you all for answering!
2 Commenti
Walter Roberson
il 6 Dic 2011
Warning: if you do this then someone can highlight the password in the edit box, copy it and paste it to a different text area, where it will show up clearly.
Risposta accettata
Più risposte (1)
Sean de Wolski
il 6 Dic 2011
Perhaps uisetfont?
doc uisetfont
Though if the user has enough calming vodka, do you even need '*'s?
Vedere anche
Categorie
Scopri di più su Environment and Settings in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!