フィルターのクリア

Removing windows from Tab order GUI

1 回表示 (過去 30 日間)
Naty Shemer
Naty Shemer 2017 年 2 月 2 日
コメント済み: Naty Shemer 2017 年 3 月 7 日
Hey, I have got a GUI with quite a lot of figures/ buttons etc. So when the users presses the Tab key it switches between all those figures\buttons. I want the user to switch only between 2-3 buttons\figures. Is there a way to remove objects from the Tab Order Editor?
Thanks, Naty
  1 件のコメント
Naty Shemer
Naty Shemer 2017 年 3 月 7 日
If anyone is interested this is the response from MathWorks:
After discussing this with my colleagues, depending on your use case, there are a couple of things that may help achieve this:
Considering your example of three listboxes, you can set the "enable" property in the property inspector for that listbox which needs to be reachable only using the mouse to "inactive". This will effectively limit the tabbing between the remaining two listboxes. However, please note that setting to "inactive" will make this uicontrol not operational. You can learn more about this property here:
https://www.mathworks.com/help/matlab/ref/uicontrol-properties.html#property_Enable
Alternatively, you can set the tabbing order between the listboxes using the "tab order editor" and then use "tab" to cycle forwards and "shift + tab" to cycle backwards. You can learn more about this here:
https://www.mathworks.com/help/matlab/creating_guis/setting-tab-order.html
However, currently there appears to be no direct way to achieve a workflow where all three uicontrol elements are active and yet being controlled selectively from the keyboard and the mouse.

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

回答 (0 件)

カテゴリ

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