You don’t really say what the “bad things” are. If you can't rename the stack and then loop through all the controls that have behaviors and update them, loop through the controls FIRST, set their behaviors to empty, rename the stack, then restore the appropriate behavior references.
Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Jan 7, 2015, at 12:46 AM, Geoff Canyon <gcan...@gmail.com> wrote: > I have a stack that contains buttons that are set as the behavior for other > controls in the stack. If I try to change the name of the stack using the > message box, bad things happen. If I write code to: > > 1. rename the stack > 2. modify the behavior properties to the new name > > bad things also happen. > > Is there something I'm not thinking of? > > thx > > gc > _______________________________________________ > 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 _______________________________________________ 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