Datagrid: How get column data from other column behavior

Malte Pfaff-Brill revolution at derbrill.de
Wed Apr 7 10:37:13 EDT 2010


Hi Josep,

funny. I had to solve the same thing today. :-)

on FillInData pData
   set the text of field 1 of me to pData
   local tIndex,tControl,tarray
   put the dgControl of me into tControl
   put the dgIndex of me into tIndex
   put the dgDataOfLine[tIndex] of tControl into tarray
   set the textColor of field 1 of me to tArray["Col 4"]
end FillInData

Hope that helps,

Malte


More information about the Use-livecode mailing list