On 30 December 2010 23:22, J. Landman Gay <jac...@hyperactivesw.com> wrote:
> On 12/30/10 4:44 PM, David Bovill wrote: > > Yes - those use cases are fine. I want to make sure I am not exporting >> identical information about objects twice, so I want to know which groups >> in >> a stack are backgrounds in the shared id sense - there is no function for >> this, so I've had to take a different approach and simply loop through >> every >> card checking the ids. >> > > Try: > > if the number of cds of grp "whatever" > 1 then... > > More than one card, and it's shared. Ah - that's anew one. Thanks! > I still really want to know what "background 2 of this stack" refers to - > any idea about that? > It should be the second group in the stack that has backgroundBehavior set, > but a quick experiment seems to indicate that a background is any group with > more than one card. But I'm not positive, you'd need to double-check that. > OK - will dig into it. It's not to do with backgroundBehavior - you get positive results with all the groups having this turned off... _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode