Cloning stack reset object IDs?

Marty Knapp martyknapp at comcast.net
Fri Jan 27 12:53:02 EST 2012


Pete,
So if I'm understanding you correctly, I could clone a card with a 
datagrid and then delete the original card and I would, in effect, start 
with a fresh set of IDs?

Marty
> Hi Richard,
> Just the datagrid group, not the stack itself.
>
> Here's what I see when cloning.  If I clone a card, the controls on it are
> given a new set of IDs.  If I clone a stack, the controls within the new
> stack retain the IDs from the original stack.  I guess that's what I would
> have expected.
>
> One other thing I noticed when I was doing this test.  The IDs of the
> controls I put on the first card I set up for the test weren't numbered
> consecutively, they were 1004, 1006, 1008, etc.  When I cloned that card,
> the IDs were consecutive, 1011, 1012, 1013, etc.  Is there a reason why the
> first card's control IDs went up in 2's?
>
> Pete
>




More information about the use-livecode mailing list