Dropdown Menu with check marks

Is there a way to make a dropdown menu (using guide), where each of the options in the dropdown menu can also act as checkboxes?

 采纳的回答

Walter Roberson
Walter Roberson 2013-5-30

0 个投票

No, not using GUIDE. There might be some way by going in at the Java level.

更多回答(1 个)

ryan
ryan 2013-5-30

0 个投票

Is there any way to change the background color of different lines in a drop down menu? (almost like a checkbox)

2 个评论

a = '<HTML><body bgcolor="red">red choice';
b = '<HTML><body bgcolor="green">green choice';
c = '<HTML><body bgcolor="#C4098A">C4098A choice';
test = uicontrol('style','pop', 'string', {a;b;c})
Thank you!

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Simulink Environment Customization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by