Colorizing line only works once?

JJS jjs at krutt.org
Sun Feb 24 06:46:36 EST 2019


Just did some tests. with the test stack from the lesson and with my own 
stack

It seems there is something strange with my indexes.

I would think that if a DG is emptied and then filled again that the 
index would start at 0 or 1 again.

It seems not the case and i see random numbers

so i have to figure out why this is happening


Op 23-2-2019 om 19:09 schreef JJS via use-livecode:
> Hello,
>
>
> i used this lesson: 
> http://lessons.livecode.com/m/datagrid/l/7332-how-can-i-colorize-individual-lines-in-a-table
>
> to colorize a few lines in my DG. When in one column the value is 1 
> then the line stays black, when it is a 2 the line becomes red.
>
> Now it just works :)...but only 1 time.
>
>
> After repopulating the DG with stuff from an other category it does 
> not do it although the same sequence is being done.
>
> It only does it again when i reload the stack in the IDE.
>
>
> Any idea what i can do?
>
> Refresh index or line does not help
>
>
> Thanks for any help.
>
>
> Jerry
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the Use-livecode mailing list