How to change Tab order of panel of my gui?

11 ビュー (過去 30 日間)
T
T 2014 年 4 月 17 日
コメント済み: Jesus Fuenmayor 2019 年 1 月 6 日
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
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
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.
  1 件のコメント
Jesus Fuenmayor
Jesus Fuenmayor 2019 年 1 月 6 日
Thanks! it worked for me

サインインしてコメントする。


nl2605
nl2605 2014 年 4 月 17 日
This link should be helpful to you. Contains links to files that might help.
  1 件のコメント
T
T 2014 年 4 月 17 日
er..I don't want a tabbed panel, all i want is to change the order in which the panels get focused when a user presses the tab key on the keyboard

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by