Change focus in table of app design to lower line after enter key
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Ashish Mishra
on 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 Comments
See Also
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!