hiliting a word
scott at tactilemedia.com
Thu Mar 3 01:22:42 CST 2005
Recently, Nicolas Cueto wrote:
> my question then
> is how do I reset the textColor of the selected word and/or the entire
> field? I tried "set the textColor" of the entire field but no luck.. Of
> course, I could use the clickChunk info to manually recolor each word, but
> something tells me that there must be a better way.
Here's one way:
set textColor of char 1 to (number of chars of fld 1) of fld 1 to empty
You can replace "empty" with a default color if necessary. There are
probably other methods as well.
Tactile Media, Multimedia & Design
E: scott at tactilemedia.com
More information about the use-livecode