Adding items to button question
Posted: Tue Apr 22, 2014 6:18 pm
Hi All,
I'm having issues trying to fill my button with the data which is in my array.
Basically I have an array of 10 items.
When I use the combine command I notice the order is different than what is in the array.
My code snippet is such:
repeat for each line myKey in it
put word 1 of myKey into varDataA2Tmp[myTempCntr]
add 1 to myTemoCntr
end repeat
combine varDataA2Tmp using return
put "ALL" & cr & varDataA2Tmp into button "cmbDataTest"
When I click on the button the items are out of order.
Any advice?
Thanks!
I'm having issues trying to fill my button with the data which is in my array.
Basically I have an array of 10 items.
When I use the combine command I notice the order is different than what is in the array.
My code snippet is such:
repeat for each line myKey in it
put word 1 of myKey into varDataA2Tmp[myTempCntr]
add 1 to myTemoCntr
end repeat
combine varDataA2Tmp using return
put "ALL" & cr & varDataA2Tmp into button "cmbDataTest"
When I click on the button the items are out of order.
Any advice?
Thanks!