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?

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 30 Mai 2013

0 Stimmen

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

Weitere Antworten (1)

ryan
ryan am 30 Mai 2013

0 Stimmen

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

2 Kommentare

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 am 30 Mai 2013
Thank you!

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulink Environment Customization 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!

Translated by