Set the backgroundcolor of all lines a field to null
Sannyasin Brahmanathaswami
brahma at hindu.org
Wed Aug 22 23:35:32 EDT 2018
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"
which does not return the number of the line, but value
command setAudioListColors pLineNum,pColor # pass "4,"0,0,0"
#slow!
repeat with x=1 to (the number lines of fld "audioList")
set the backgroundcolor of line pLineNum of fld "audioList" to pColor
end repeat
repeat for each line x in fld "audioList"
# need to get a line number and not its value
set the backgroundcolor of line pLineNum of fld "audioList" to pColor
end repeat
end setAudioListColors
More information about the use-livecode
mailing list