how to make edit text in gui to show the latest result?
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello!
i display my results in an edit text
set(handles.edit11, 'String', X);
However because the results are too many i cant see the latest results,unless i manually scroll down. any idea how to see the latest results while the are displayed?
댓글 수: 2
Adam
2014년 11월 11일
Can you not just show results in reverse order so that the latest are always at the top rather than the earliest?
답변 (2개)
Yair Altman
2014년 11월 10일
An example that contains what you wanted (to automatically set the caret position to the end of the editbox) is provided here: http://undocumentedmatlab.com/blog/rich-matlab-editbox-contents#EditorKit
Image Analyst
2014년 11월 10일
I don't know of any easy way to scroll down to the bottom of an edit text box. How about decreasing the font size? A non-easy way is to use Java robot.
Another way is to delve into Yair's code: http://undocumentedmatlab.com/blog/customizing-listbox-editbox-scrollbars
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!