Help: script only works when in debug mode
Malte Brill
revolution at derbrill.de
Sun Apr 9 15:38:13 EDT 2006
Hi Ian,
have you thought about dropping move alltogether and using set the loc
instead?
Assuming the name of the first button is "Btn1"
on mouseUp
lock screen
repeat with n = 2 to 10
clone me
set the name of it to "Btn"&n
set the left of btn ("Btn"&n) to the right of btn ("btn"&n-1)+10
set the top of btn ("Btn"&n) to the top of btn ("btn"&n-1)
set the label of btn ("Btn"&n) to n
set the script of the btn ("Btn"&n) to empty
end repeat
unlock screen
end mouseUp
Hope that helps,
Malte
More information about the use-livecode
mailing list