How to change the color of "partial" text in gui static text
Mostra commenti meno recenti
For example, I want to display a string of 'ABCDE' in the static text box, and want to highlight C with red color or bold font. How to do that? By setting the "ForegroundColor", or "Font" property, it would change the whole string, but I want to apply to partial of the string. ideas?
Risposte (1)
Prannay Jain
il 2 Mag 2017
0 voti
Unfortunately, currently this is not possible to change the color of "partial" text in gui static text. You may think of adding different strings of single characters with different colors and fonts.
Categorie
Scopri di più su Characters and Strings in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!