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!