Removing windows from Tab order GUI

2 Ansichten (letzte 30 Tage)
Naty Shemer
Naty Shemer am 2 Feb. 2017
Kommentiert: Naty Shemer am 7 Mär. 2017
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 Kommentar
Naty Shemer
Naty Shemer am 7 Mär. 2017
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by