uitable

5 visualizaciones (últimos 30 días)
Aldin
Aldin el 5 de Mzo. de 2012
How highlight the current day on my uicalendar???

Respuesta aceptada

Oleg Komarov
Oleg Komarov el 5 de Mzo. de 2012
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 comentario
Aldin
Aldin el 5 de Mzo. de 2012
Thank you so much it's helpful but how to highlight whole cell not text

Iniciar sesión para comentar.

Más respuestas (1)

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

Iniciar sesión para comentar.

Categorías

Más información sobre Calendar en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by