duplicate/copy sub-stack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
duplicate/copy sub-stack
Is it not possible to duplicate a sub-stack?
Or, what about saving a sub-stack and re-inserting into the Main Stack?
Not seeing anything on this in the docs, or maybe I've missed it.
There's instances where I need to use a sub-stack's contents as the basis for a new sub-stack. Surely this is possible?
Thanks
Bill
Or, what about saving a sub-stack and re-inserting into the Main Stack?
Not seeing anything on this in the docs, or maybe I've missed it.
There's instances where I need to use a sub-stack's contents as the basis for a new sub-stack. Surely this is possible?
Thanks
Bill
Thanks. I searched around for "duplicate" in various sources (e.g. docs and dictionary) and didn't find an answer. Okay, it's called "clone" here and evidently the way to clone/duplicate/copy a sub-stack is only via programatic means. Sure would be nice for RR to have a menu option for this, then I could keep with the UI design without searching around and fuddling with code... Sorta takes one out of the creative moment.
Thanks.
Thanks.
malte wrote:Hi Bill,
if you open the dictionary, please look at the entries for copy, clone, mainstack and save as.
Cheers,
Malte
Okay, I finally got around to this. So, I have sub-stack which I desire to copy and use as the basis for a new substack (Since RR doesn't allow two window views into the same stack, I have to clone the stacks).
When I clone the substack, rather than create a copy of said substack placed within the MainStack, RR creates a new MainStack based on the cloned substack. Okay, so how then do I insert this MainStack into my "real" MainStack as a sub-stack? Why doesn't RR by default clone a sub-stack and keep it as a sub-stack of the existing MainStack?
I've searched for "import", "insert", "clone", "copy" and am not seeing the answer. Surely this is possible?
Thanks
Bill
When I clone the substack, rather than create a copy of said substack placed within the MainStack, RR creates a new MainStack based on the cloned substack. Okay, so how then do I insert this MainStack into my "real" MainStack as a sub-stack? Why doesn't RR by default clone a sub-stack and keep it as a sub-stack of the existing MainStack?
I've searched for "import", "insert", "clone", "copy" and am not seeing the answer. Surely this is possible?
Thanks
Bill
billworld wrote:Thanks. I searched around for "duplicate" in various sources (e.g. docs and dictionary) and didn't find an answer. Okay, it's called "clone" here and evidently the way to clone/duplicate/copy a sub-stack is only via programatic means. Sure would be nice for RR to have a menu option for this, then I could keep with the UI design without searching around and fuddling with code... Sorta takes one out of the creative moment.
Thanks.
malte wrote:Hi Bill,
if you open the dictionary, please look at the entries for copy, clone, mainstack and save as.
Cheers,
Malte
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
You can set the 'mainStack' property of the fresh clone to your original mainstack. I'm guessing that Revolution assulmes you're either cloning the substack to use it as an 'editor' template stack, or because you want to include it into a different mainstack.
Jan Schenkel.
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com
Got it. Thanks!
Janschenkel wrote:You can set the 'mainStack' property of the fresh clone to your original mainstack. I'm guessing that Revolution assulmes you're either cloning the substack to use it as an 'editor' template stack, or because you want to include it into a different mainstack.
Jan Schenkel.