multi-line edit box behaving as single line
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello all,
I created an edit box. I want it to have 2 lines, but behave if it has only a single line. In other words, I want to:
- The edit box should not pass to the next line when I press ENTER. It should instead lose focus and execute the callbacks.
- When I fill an entire line, it shoud pass to the next line and not keep moving to the right.
Is there any way to accomplish this?
In fact, the standard way to pass to the next line in these situations is using SHIFT+ENTER. However, It seems MATLAB doesn't want to follow this universal rule.
Regards,
André
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Entering Commands에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!