Sharing groups between stacks

Geoff Canyon gcanyon at gmail.com
Sat Oct 6 19:16:15 EDT 2018


In Navigator, I implemented functionality that was previously just a group
that I "show"ed and "hide"ed in the Navigator mainstack, as a palette
substack of Navigator.

To do this, I created a substack, and copied over the group. All scripts
are behaviors, so the code isn't duplicated, but the control layout is,
meaning if I want to update the tool layout I need to make the changes in
two places.

If I really wanted to I could write code to copy the group from the
substack into the mainstack at runtime, but that seems weird to me.

Am I missing some easier way to do this?

gc



More information about the use-livecode mailing list