On Tue, Aug 9, 2011 at 6:19 PM, John Craig wrote: > Hi, Roger. Here's a quickie - create a stack with two fields ('in' and > 'out') put your data into field 'in' and the following into the button > script; > > on mouseUp > set itemDel to tab > put fld "in" into tData > put the num of lines in tData into tLines > repeat with i = 1 to tLines > put item 1 of line i of tData into tNumber > replace tNumber with "<font color=red>" & tNumber & "</font>" in item > 4 of line i of tData > put "<br>" after line i of tData > end repeat > set the htmlText of fld "out" to tData > end mouseUp > > > HTH > > :) > > Thank you John! However, my goal is to only make a portion of the filename red, not the entire filename. I need to locate, line by line, where the text matches the text from the first column of that line, and ONLY affect the color of those chars.
˜Roger _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode