appdesigner listbox item does not recognize HTML tags
Ältere Kommentare anzeigen
Unfortunately, this command does not change the color of the first item (named "XXX") in my appdesigner UI Liastbox!
app.ListBox_Test.Items{1} = '<html><font color="red"> XXX </font></html>'
It works fine in GUIDE but not in appdesigner!
This link clarifies that this feature is still not availble in appdesgner for liastbox:
Any syggestion or work around to make this feature work in appdesigner?
Antworten (1)
Cris LaPierre
am 12 Dez. 2018
Bearbeitet: Cris LaPierre
am 12 Dez. 2018
You would need to use code like this to change the font color (changes it for all items in the list):
app.ListBox.FontColor = 'r';
2 Kommentare
Alborz Sakhaei
am 12 Dez. 2018
Bearbeitet: Alborz Sakhaei
am 12 Dez. 2018
Cris LaPierre
am 12 Dez. 2018
Kategorien
Mehr zu Desktop finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!