Make the dropdown already scrolled down to the bottom in app
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/718549/image.png)
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)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/718554/image.png)
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!
Réponses (1)
Eric Delgado
le 27 Sep 2022
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...
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1137215/image.png)
0 commentaires
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!