Question about position of cloned group

William de Smet williamdesmet at gmail.com
Sat Apr 16 10:14:26 EDT 2011


Hi there,

I use a little script to clone a grp and rename the name and label of
the btn in the group.
So far so good but each cloned grp is put on top of the other one. Not so nice!
How do I get the cloned grp to be show next to the previous cloned grp?
Set the left of grp Naam to (the left of the last grp +20) doesn't work

on mouseUp
   lock screen
   clone grp "dummy"
   global Naam
   add 1 to Naam
   set the name of the last grp to Naam
   set the name of btn "cijfer" of the last grp to Naam
   set the label of the last btn to Naam
  set the left of grp Naam to (the left of the last grp +20)
   unlock screen
end mouseUp

Greetings,

William




More information about the use-livecode mailing list