Change focus in table of app design to lower line after enter key
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Ashish Mishra
2020-11-17
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!