Set the backgroundcolor of all lines a field to null

Mark Wieder ahsoftware at sonic.net
Wed Aug 22 23:56:01 EDT 2018


On 08/22/2018 08:35 PM, Sannyasin Brahmanathaswami via use-livecode wrote:
> I have some big lists in mobile, I sent the bkgndColor of certain lines.
> 
> 
> Then I want clear that,
> 
> How do we do this "for each line x"

What I do:

put 1 into tLineNumber
> repeat for each line x in fld "audioList"
> 
> # need to get a line number and not its value
> 
     set the backgroundcolor of line tLineNumber of fld "audioList" to 
pColor
> 
add 1 to tLineNumber
> end repeat
> 
> end setAudioListColors


-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list