App Designer : Adding elements to listbox

Hello,
I am using app designer.
I am trying to add new elements in listbox by selecting checkboxes.
Please suggest a code for the same.

1 Comment

could you please post where actually you are facing problem?
Just check this GUI example: How can I add to the string in a popup or listbox? from FEX

Sign in to comment.

Answers (1)

‘Items’ property of listbox can be used to add elements into the list box. You could use the ‘ValueChangedFcn’ of checkbox to populate the listbox when the checkbox is checked.
Referring to the following links might be useful:

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Asked:

on 25 Sep 2019

Answered:

on 8 Nov 2019

Community Treasure Hunt

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

Start Hunting!