Is it possible to enable a slider to scroll subpanels up and down?
조회 수: 1 (최근 30일)
이전 댓글 표시
My GUI has an add button that allows the user to add additional subpanels when desired. Being that eventually the length of the subpanels will exceed the length of the computer screen. I thought that an scroll bar would be useful; however, I need the scroll bar's parameters to change with every additional subpanel added.
Any example of how to implement such a slider/scroll bar would be greatly appreciated.
Links to any site that you think will help will be appreciated too.
Thank you in advance
댓글 수: 0
채택된 답변
David Sanchez
2013년 6월 12일
The following link explains the steps to add a scrollbar to your GUI:
댓글 수: 2
David Sanchez
2013년 6월 12일
Did you run the example at the bottom of the link? You can work on top of it, including modifications one at a time and checking it still works. You have to many errors in your code ( it seems it is quiet long ). The scrollbar GUI is a bit complicated as to explain it in here. I think the example on the link is a good starting point.
추가 답변 (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!