strange color behavior in datagrid form

Yves COPPE yvescoppe at skynet.be
Sun Mar 14 13:29:02 EDT 2010


Hi list,


I have a grid (form type)
one fld of the grip is named "check"

in the  FillInData handler I have this script

if fld "check" of me contains "OK" then
set the foregroundColor of fld "check" of me to red
end if


ok, the command is executed, I can see that on the screen of the mac   
but ...

if I scroll the group "datagrid" (because I have more rows in the  
datagrid than what's seen on the screen), all the flds "check" have  
the text in red !!!
the selection made with the if/then status doesn't appear anymore !


what happens ?

Thank you for your answers.

Greetings.

Yves COPPE
yvescoppe at skynet.be




More information about the use-livecode mailing list