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 Center および File ExchangeCalendar についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by