App Designer - Tab between fields order issue

12 Ansichten (letzte 30 Tage)
Joseph Sherratt
Joseph Sherratt am 22 Okt. 2019
Kommentiert: Joseph Sherratt am 18 Nov. 2019
I have a simple app with mainly numerical edit fields. The user should be easily able to enter numbers into fields and press tab to move the cursor to the next field. I have several panels and each panel contains several numerical edit fields. However, when the tab key is pressed the curor does not always go to the numerical edit field directly below. It may skip the panel below, then 'bounce around' the fields within one panel and then go to the panel above.
I cannot see a way to change the order the cursor moved between fields when tab key is used. Is there a way to ensure the cursor moves to the correct field when tab key is pressed?

Antworten (1)

Sahithi Kanumarlapudi
Sahithi Kanumarlapudi am 31 Okt. 2019
Hello,
It just so happens that the order components appear in the component browser, from top to bottom, is the same order in which you tab through those components when your run your app.
So in order to get the desired component to be focused it would be better to arrange the components in the order in which they are present in the component browser
The following link might help you solve your issue
Hope this helps!
  2 Kommentare
CallumP
CallumP am 1 Nov. 2019
I've written an app to help make reordering the components easier, it's here:
Joseph Sherratt
Joseph Sherratt am 18 Nov. 2019
Hi, this is fantastic! Thank you so much, worked absolutely perfectly

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by