uitable

조회 수: 3 (최근 30일)
Aldin
Aldin 2012년 3월 5일
How highlight the current day on my uicalendar???

채택된 답변

Oleg Komarov
Oleg Komarov 2012년 3월 5일
An alternative:
You could modify:
function outHtml = colText(inText, inColor)
% return a HTML string with colored font
outHtml = ['<body bgcolor="Silver", font color="', ...
inColor, ...
'">', ...
inText, ...
'</font></body>'];
end
Note the bgcolor, however the result is not so nice (but you can customize each cell).
Another thing you could do is play with the 'BackgroundColor' property, but it affects all cells or you can customize odd, even.
  댓글 수: 1
Aldin
Aldin 2012년 3월 5일
Thank you so much it's helpful but how to highlight whole cell not text

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Jan
Jan 2012년 3월 5일
I suggest FEX: uigetdate, the most fanciest program I've ever seen in the FEX - thanks Elmar!
  댓글 수: 4
Oleg Komarov
Oleg Komarov 2012년 3월 5일
Jan's suggestion was to look in the code of the submission to check how its author has implemented it.
Aldin
Aldin 2012년 3월 5일
Yes, but is complicated :)

댓글을 달려면 로그인하십시오.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by