Sharing groups between stacks

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Sharing groups between stacks

Bob Sneidar via use-livecode
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?

use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences: