On 2012-12-10, at 12:46 PM, Scott Rossi wrote: > I've been trying to figure out how to "place" a group by script. It took me > a while to figure out that "place groupŠ" doesn't work, but instead "place > backgroundŠ". > > Now when I execute "remove bkgnd xyz from this cd" the group ends up getting > deleted from the stack, even though the group resides on a completely > different card. > > What am I missing here? Thanks for any clarification. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode
Scott, Just tried this with 1 stack… on Card 1 group id 1009 (Group name = GrpTest2 ) <= 2 fields on Card 2 place button on mouseUp place group id 1009 of cd 1 onto this card -- place group "GrpTest2" of cd 1 onto this card ## Also woks OK -- place background "GrpTest2" onto this card ## Also woks OK end mouseUp remove button on mouseUp remove group id 1009 from this card ## Works OK - removes from the card, doesn't delete from stack -- remove group "GrpTest2" from this card ## Also works OK -- remove background "GrpTest2" from this card ## Also works OK end mouseUp I can place and remove the group with no problem, tried with the backgroundBehavior property set to true and false with no difference. This all fails if the target group is nested within another group. LiveCode 5.5.3 Mac OS X 10.7.5 Paul _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
