How to change Tab order of panel of my gui?
조회 수: 11 (최근 30일)
이전 댓글 표시
I've created a GUI using guide. I've added 6 panels on the GUI. I now want to change the tab order of the panels. I found I can change the tab order of elements inside each panel using 'Tab order editor' of guide but how to do the same for the panels themselves?
eg. each panel ( pA, pB, pC...) have three edit boxes each. I want to change the order so that on pressing the tab key, edit boxes in pB get focused first, then the ones on Pd, then pA and so on as I want
댓글 수: 1
Amelia van Leeuwen
2018년 2월 7일
Hi, I'm having the same problem, did you ever figure out a solution? Thanks.
답변 (2개)
Jefferson Pérez
2018년 2월 13일
Hello. I've found the solution on this site: https://groups.google.com/forum/#!topic/comp.soft-sys.matlab/vlwz1TouDYs
"Hi,
I think it is too late now but maybe I can help a few fellows.
Open your GUI in GUIDE. The "panel tab order" is exactly the order of the panel objects in the object browser window (View >> Object Browser).
As far as I know there is just one way to rearrange the order: Right click them and use "bring in front" and "send to back". Unfortunately, this throws them to the top most or bottom position, but it is possible to arrange them."
You need "SEND TO BACK" the panels in the inverse order you want to. You can then rearrange in the correct order. It worked for me.
Regards.
참고 항목
카테고리
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!