How can I deploy a listbox from a pushbutton in a GUI?
1 view (last 30 days)
Andrew Reibold on 7 Jul 2014
listdlg('ListString',S) creates a modal dialog box which allows you to select a string or multiple strings from a list.
You can use a cell array with all the things you want in it to display more than one item (making it a list)
More Answers (1)
Joseph Cheng on 7 Jul 2014
With what Andrew has above or if this is created using GUIDE, you can create the listbox ahead of time but have its 'Visible' property off so it is hidden until the pushbutton is pressed.