Is it possible to set the FaceColor on my waitbar GUI using 2015a?

조회 수: 2 (최근 30일)
Booker
Booker 2016년 9월 30일
답변: Walter Roberson 2016년 9월 30일
This solution does not work:
xx = waitbar(0,"Waiting ...");
xxObj = findobj(xx,'Type','Patch');
set(xxObj,'FaceColor','blue');

답변 (1개)

Walter Roberson
Walter Roberson 2016년 9월 30일
No, that is not possible.
As I posted in http://www.mathworks.com/matlabcentral/answers/293374-waitbar-color-2016a-is-broken-red-how-to-set-to-older-continuous-green#answer_227433 waitbar now delegates to a Java javax.swing.JProgressBar . Those do not have a Facecolor.

카테고리

Help CenterFile Exchange에서 Dialog Boxes에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by