highlighting the foundText

Ken Ray kray at sonsothunder.com
Sun Oct 10 22:45:40 EDT 2004

On 10/10/04 7:31 PM, "Rich Lague" <laguer at ucs.orst.edu> wrote:

> I have a "find" field that finds the string in text file using the
> offseItem command. The item that contains the search string is then
> displayed in a field. I would like the search string to be highlighted
> in the field after the find.
> I have tried using this script after I get everything into the field:
> -----------------------------------------------------------------------
> find thingToFind in field "card-name"
> set the highlight of the foundText to true

Real close... acutally it's

  find thingToFind in field "card-name"
  select the foundChunk


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com

More information about the Use-livecode mailing list