How to reorder the List box items in created dialogue window?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Lavanya
el 4 de Jul. de 2022
I have create two apps. 1.GUI
2. Listboxedit
From GUI button click, it will open a new window with the Listbox data( it will open 2nd app ListBox edit). Till now Its working good.
For your reference I have enclosed the ListBox edit. kindly suggest a way for this?
0 comentarios
Respuesta aceptada
Simon Chan
el 5 de Jul. de 2022
5 comentarios
Simon Chan
el 6 de Jul. de 2022
When you allow user to do multiple select on the Listbox, there are numerous combination and you have to decide what will be your expected outcome.
Attached are the codes for multiple selection off only.
Simon Chan
el 7 de Jul. de 2022
If you would like to use the codes given to you as a reference. You need to set ItemsData as the following when you define the uilistbox.
lbox = uilistbox(uif,'Position',[125 50 150 300],...
'Items', compose('SAS Program %d',1:7),'ItemsData',1:7,'Multiselect','off');
Más respuestas (0)
Ver también
Categorías
Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!