how do i Change the color of single string in multiline edit box
조회 수: 1 (최근 30일)
이전 댓글 표시
Hii,
I have created a GUI using guide in MATLAB R2017b, where Action log panel is there,in that i am printing all gui's output results in multiple line, i can change color of all text in edit box , but i want to change color of single string without changing color of other older strings.
for example if operation is successful then "operation is successful " this string should be in green color, if operation is failure or some error is there then " operation is failed " this string should be in Red color
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/771578/image.jpeg)
So, as per above image in edit box "Get status command successfully sent..." should be in green color
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!