repeat with i = 1 to 200 step 2 put "d"&i into tObjectName set the backgroundcolor of grc tObjectName to the text of line i of fld "in" set the foregroundcolor of grc tObjectName to the text of line i+1 of fld "in" end repeat
On 5/8/2012 2:32 PM, John Dixon wrote: > repeat with i = 1 to 200 step 2 > > set the backgroundcolor of grc "d1" to the text of line i of fld "in" > > set the foregroundcolor of grc "d1" to the text of line i+1 of fld "in" > > end repeat -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ http://www.twitter.com/researchware http://www.facebook.com/researchware http://www.linkedin.com/company/researchware-inc _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
