How to set a particular font in a Edit Text Area
조회 수: 1 (최근 30일)
이전 댓글 표시
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
Walter Roberson
2011년 12월 6일
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.
채택된 답변
추가 답변 (1개)
Sean de Wolski
2011년 12월 6일
Perhaps uisetfont?
doc uisetfont
Though if the user has enough calming vodka, do you even need '*'s?
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!