Help: script only works when in debug mode
Ian McKnight
igmcknight at gmail.com
Sun Apr 9 15:48:21 EDT 2006
On 09/04/06, Malte Brill <revolution at derbrill.de> wrote:
>
> 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
Hi Malte
Just tried it and it works a treat.
Thanks a lot
Ian
More information about the use-livecode
mailing list