Is there a way to select automatically a specified option of a listbox?
1 次查看(过去 30 天)
显示 更早的评论
Sorry for my bad English...
So I have two listboxes, the second associated with the first. So when I choose an option from the first listbox I want the program to select automatically an option from the second listbox.
Is it possible?
Thanks!
0 个评论
采纳的回答
Jan
2013-2-28
Yes.
I guess you want to know how also. You can add code to the callback of the 1st listbox, which sets the 'Value' property of the 2nd listbox.
For a more detailed answer, the relevant parts of your code would be helpful.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!