Selection color in uicontrol listbox
Show older comments
Hey all!
I'm wondering if there is a way to control the highlight selection color (currently blue) in a list box? See attached example.
TIA!
Trevor
1 Comment
Accepted Answer
More Answers (1)
Keqin Xu
on 31 Oct 2019
0 votes
Trouble is, when there are "<" in the string, the "<" are missing in the listbox!
Any ideas to fix it? Thanks!
1 Comment
Joris Lambrecht
on 2 Jun 2020
I use the following little function:
function htmlStr = formatHTML(str)
% FORMATHTML converts < and > to HTML codes
htmlStr = strrep(str, '<', '<');
htmlStr = strrep(htmlStr, '>', '>');
end
Categories
Find more on App Building in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!