Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
GUI table - how to change font for *some* cells?

Subject: GUI table - how to change font for *some* cells?

From: Eli

Date: 19 Apr, 2010 10:04:05

Message: 1 of 3

Hi,
I have a GUI table that works fine.
When the user takes certain action I want to highlight just few of the cells in the table.
I don't mind if it's done through adding a frame around them, changing the font color, or any other text characteristic.
Is that even possible?

I though maybe it could be done through the CellEditCallback or CellSelectionCallback somehow, but I don't want the user to have to click anywhere at the table, so how can I get the specific cell handle?

I'll appreciate any ideas,
Rachel

Subject: GUI table - how to change font for *some* cells?

From: Michael

Date: 17 Sep, 2010 22:11:05

Message: 2 of 3

Hello!
I also need such a solution!?
Maybe undocumented Matlab might help but I do not know how?


Ciao,
Michael


"Eli " <racheli.magid@gmail.com> wrote in message <hqh9ql$g2l$1@fred.mathworks.com>...
> Hi,
> I have a GUI table that works fine.
> When the user takes certain action I want to highlight just few of the cells in the table.
> I don't mind if it's done through adding a frame around them, changing the font color, or any other text characteristic.
> Is that even possible?
>
> I though maybe it could be done through the CellEditCallback or CellSelectionCallback somehow, but I don't want the user to have to click anywhere at the table, so how can I get the specific cell handle?
>
> I'll appreciate any ideas,
> Rachel

Subject: GUI table - how to change font for *some* cells?

From: Yair Altman

Date: 18 Sep, 2010 18:13:03

Message: 3 of 3

"Michael " <xyMueller@web.de> wrote in message <i70p1p$g1u$1@fred.mathworks.com>...
> Hello!
> I also need such a solution!?
> Maybe undocumented Matlab might help but I do not know how?
>
>
> Ciao,
> Michael
>
>
> "Eli " <racheli.magid@gmail.com> wrote in message <hqh9ql$g2l$1@fred.mathworks.com>...
> > Hi,
> > I have a GUI table that works fine.
> > When the user takes certain action I want to highlight just few of the cells in the table.
> > I don't mind if it's done through adding a frame around them, changing the font color, or any other text characteristic.
> > Is that even possible?
> >
> > I though maybe it could be done through the CellEditCallback or CellSelectionCallback somehow, but I don't want the user to have to click anywhere at the table, so how can I get the specific cell handle?
> >
> > I'll appreciate any ideas,
> > Rachel


Read here: http://www.mathworks.com/matlabcentral/newsreader/view_thread/284435#780506
Also: http://undocumentedmatlab.com/blog/html-support-in-matlab-uicomponents/

Yair Altman
http://UndocumentedMatlab.com

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us