unhilite line in list field
Klaus Major
klaus at major-k.de
Tue Dec 21 14:29:03 EST 2004
Hi Paul,
> Hi
> My script has a list field where each selection is utilized in turn.
> I would like the selection to be unhilited in turn after it is
> utilized,
> so that as the repeats are worked through the highlights turn off.
> Possible?
> This doesn't work --
>
> repeat for each line mychoice in the selectedText of fld "mylistfield"
> doSomething
> unhilite mychoice of the selectedText of fld "mylistfield" -- ?????
> end repeat
>
> but, has anyone found a way to do this?
Just to see if i get you right:
You want to "unhilite" ALL lines AFTER you did something with the
hilited lines?
The you can:
...
repeat for each line mychoice in the selectedText of fld "mylistfield"
doSomething
end repeat
set the hilitedlines of fld "mylistfield" to 0
...
If that's not what you were after, drop another line :-)
> Seasons greetings to you all
>
> Paul
Regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list