Re: EuGTK - setRow

new topic     » goto parent     » topic index » view thread      » older message » newer message
Jerry_Story said...

I'm still confused.

setRow(i, lstNutrientsREQ, lvNutrientsREQ, "background", colors[color])

What I want to do is set row i to the color. How can that be done?

If i indicates column (vertical) and not row (horizontal), then what indicates row?

The list will sometimes be re-sorted but when it is, it is also re-colored, so the colors don't need to follow the items.

The color of an item changes. It changes according to the amount of the nutrient. Green means enough. Red means too much.

This isn't clear - you're saying the color doesn't follow the item, then you're saying it changes according to the amount of the nutrient.

Can you give me an example or a picture of what you're trying to do?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu