1. Phix:color a cell in a pGUI table?

Is there a way to color an individual cell in a table?

If so, will you provide an example, please? (or point me to the docs about it)

Thank you!

P.S. Found this!

new topic     » topic index » view message » categorize

2. Re: Phix:color a cell in a pGUI table?

euphoric said...

Is there a way to color an individual cell in a table?

If so, will you provide an example, please? (or point me to the docs about it)

Thank you!

P.S. Found this!

Run demo\pGUI\matrix.exw

That's an 8-in-1 demo, I've currently got "4: as 3 but using value_cb, lovely scroll effect!" uncommented (approx line 180)

Due to

--  IupSetAttribute(mat,"BGCOLOR2:2","200 0 0") -- (works fine) 
    IupSetAttribute(mat,"FGCOLOR2:2","200 0 0") 

you should see the 2.2 value in red

I haven't actually used IupCells much, preferring IupMatrix, but in my equivalent of that Perl page the auillary functions section shows how to set BGCOLOR on an individual cell.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu