Dropdown Menu with check marks

4 次查看(过去 30 天)
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
No, not using GUIDE. There might be some way by going in at the Java level.

更多回答(1 个)

ryan
ryan 2013-5-30
Is there any way to change the background color of different lines in a drop down menu? (almost like a checkbox)
  2 个评论
Walter Roberson
Walter Roberson 2013-5-30
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})

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by