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


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to