Option menu

Michael D. dweeble at wi.rr.com
Sat Feb 17 11:00:40 EST 2007


Hello
I have a fld with with a list of 100 or so lines with itemdel for the first item of each line. How can I get each lines item1 into the option menu ? 
so far this gets the first line of the fld into the option menu but not addtional lines. 

put item 1 of fld "sortfld" into btn "menuS"

so I think its,
put fld "sortfld" into var
repeat with i=1 to the number of lines in var
put ? not sure here
end repeat
put var into btn "menuS" 

Thanks for any  help
Michael


More information about the use-livecode mailing list