John-

If you can get by without setting the background color, try using the
htmlText property of the field, something like this:

on mouseUp
  local tText
  local tStrReplace

  put the htmlText of field "Original" into tStrReplace
  put "<font color=" & quote & "red" & quote & ">" \
    & field "SearchField" &\
    & "</font>" into tStrReplace
  replace field "SearchField" with tStrReplace in tText
  set the htmlText of field "Results" to tText
end mouseUp

-- 
-Mark Wieder
 [email protected]


_______________________________________________
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

Reply via email to