Make the dropdown already scrolled down to the bottom in app

1 回表示 (過去 30 日間)
Jakob 2021 年 8 月 23 日
回答済み: Eric Delgado 2022 年 9 月 27 日
I'm designing an app, which shows the data of each patient. When booting up the app, I already made the app to choose always the last patient and show the data. (See Image 1)
When I select another patient, and open the dropdown again, the dropdown stays scrolled with the second patient in view and the name is blue. (See Image 2)
However I want the same effect already for the first patient, so the dropdown-menu, when opened, is already scrolled down to the last patient and the last patient is showed in blue.
I hope this makes sense!
  1 件のコメント
Jakob 2021 年 8 月 23 日
Of course, normally it shows PatientNames instead of "Column [1-244]", but I changed it for privacy


回答 (1 件)

Eric Delgado
Eric Delgado 2022 年 9 月 27 日
It's an old question, but maybe this answer helps someone. I don't know which version of Matlab you used, but I just tested in R2021b and the behavior that you described doesn't happen. The first patient is shown with a blue background and so on...


Help Center および File ExchangeLoops and Conditional Statements についてさらに検索




Community Treasure Hunt

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

Start Hunting!

Translated by