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 件のコメント

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})
ryan
ryan 2013 年 5 月 30 日
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