Page 1 of 1

Is there an easier way to change the text color in a DG Row?

Posted: Thu Aug 11, 2011 3:54 am
by BarrySumpter
I found this to be the only reference to changing the color of a DG row.
(well, so far anyway)

7332-How-Can-I-Colorize-Individual-Lines-in-a-Table-
http://lessons.runrev.com/spaces/lesson ... n-a-Table-

I'd like to change a row that contains an increase of sales over 100% to Blue.
And a decrease in sales of over 50% to Red.

Even though it's looks simple - I can't seem to debug trace the logic well enough to understand whats going on.

Is there not an easier way in LiveCode to change the text color in a datagrid row?

Re: Is there an easier way to change the text color in a DG Row?

Posted: Thu Aug 11, 2011 8:22 am
by bangkok

Re: Is there an easier way to change the text color in a DG Row?

Posted: Thu Aug 11, 2011 10:27 pm
by BarrySumpter
Thats the same methodology.

I'll have another go today.
As it looks a bit easier after a good nights sleep.

But good to know its there with all the other cool examples.
Thanks for posting this.