Colorizing line only works once?

jjs at krutt.org jjs at krutt.org
Mon Feb 25 06:23:29 EST 2019


Solved it another way which also perfectly fits the idea by following 
this:
https://forums.livecode.com/viewtopic.php?t=13025#p62226
Thanks to Sri.


JJS via use-livecode schreef op 2019-02-24 11:46:
> 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
> 
> _______________________________________________
> 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