Change focus in table of app design to lower line after enter key
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Ashish Mishra
il 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 Commenti
Vedere anche
Categorie
Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!