Now I'm lost... You can even create backgrounds that are (almost) impossible to detect. If you create a top level group called "Hidden background" and then "remove" it from the card - it will appear in the backgroundids / backgroundnames of the stack even though it is not visible on any cards.
However if you then: set the backgroundbehavior of bg "Hidden background" to false it will not only not be visible, it won't show up in the 'backgroundids / backgroundnames of the stack". Looping through each background number by using "the number of backgrounds of stack" gives a completely different result, which at the moment is making no sense... for instance I have go a test stack with two shared groups - both of which I've turned off the backgroundbehavior (so the backgroundnames is empty) - no bg 1 of stack is the first group, but bg 2 of stack is an inner group and not the second shared group.... maybe it will make sense in the morning.... _______________________________________________ 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