Why do group ID's change when cloning a stack

Peter T. Evensen pevensen at siboneylg.com
Fri Aug 11 14:24:41 EDT 2006


But then you get into issues where buttons have graphics referenced by 
IDs.   The only way around this is to reassign the icon IDs at some point.

At 01:19 PM 8/11/2006, you wrote:
>Since the days of Hypercard, I have known that using ID's to
>reference objects was sketchy at best. As a matter of good
>programming practice, you should keep track of all your variables and
>object names so there is no inadvertent duplication to bite you in
>the butt later. If nothing else, use variable and object names that
>specifically describe the actual object. That was, as we learned at
>Revconwest 2006, "The code practically comments itself".
>
>Naming objects are definitely the way to go. (IMHO)
>
>Bob Sneidar
>IT Manager
>Logos Management
>Calvary Chapel CM
>
>On Aug 11, 2006, at 7:22 AM, use-revolution-request at lists.runrev.com
>wrote:
>
>>By accident I just discovered that group ID's change when you clone a
>>stack.
>>This can be very annoying when you work with tmplt stacks which you
>>clone to use as, lets say a document or a viewer.
>>
>><snip>
>>
>>Best wishes
>>
>>Claudi
>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution

Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588 





More information about the use-livecode mailing list