Change focus in table of app design to lower line after enter key
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I have a table which the user supposed to write words in it, one below the other. To write a word in a new line the user should change focus of the mouse to the next line.
Intead of that I woulk like to change focus by typing enter. How do I do that
0 commentaires
Réponses (1)
Ashish Mishra
le 17 Nov 2020
Use uieditfield callback function to edt the text https://www.mathworks.com/help/matlab/ref/matlab.ui.control.editfield-properties.html?searchHighlight=enter%20key%20ui%20property&s_tid=srchtitle#d122e1496310 and use drawnow to move the cursor to the next line https://www.mathworks.com/help/matlab/ref/drawnow.html.
0 commentaires
Voir également
Catégories
En savoir plus sur Tables 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!