changing text colors in uicontrol Edit

4 views (last 30 days)
Yin on 16 Jun 2011
Hi Everyone,
Is there a way to change the [color/boldness/some other font stuff] of a single word or string section that is being displayed in a gui edit box without using html? Thanks!

Answers (1)

Walter Roberson
Walter Roberson on 16 Jun 2011
Possibly, but if there is a non-html way, it would require working at the Java level.
  1 Comment
Yin on 16 Jun 2011
I've been trying at the java level with Yair's findjobj function. So far, I've been able to select the text I'm interested in as well as change the "selection highlighting" color scheme, but not the actual color of the text itself.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by