cszasz at mac.com
Wed Oct 24 10:39:44 CDT 2012
I am using the following script to retrieve the labels of checked checkboxes
on marked cards and put them in the field "recommendations". The labels are
custom properties (uMyLabel). The script works fine but I am getting five
blank lines in recommendations field before the first checkbox label is
inserted in the field.
repeat with y = 1 to the number of cards of stack "MyStack"
if the mark of card y of stack "MyStack"= true then
put the number of buttons of card y of stack "MyStack"into nbr
repeat with n = 1 to nbr
if the style of button n of card y of stack "MyStack" is
and the hilite of button n of card y of stack "MyStack" is
put the uMyLabel of button n of card y of stack "MyStack"
put tName & cr after theList
delete char -1 of theList
put theList into field "recommendations"
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode