I'm going to feel foolish when I see the answer but I still need to know. How do I add substackZ of stack "A" to be substackZ of stack "B"?
Thanks a lot
Tom
Substack from another stacks substack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Tom,
If you want to add a copy of a substack to another substack, you need to clone it first and then set the mainstack of the new stack.
Perhaps we should submit a feature request for a "Duplicate this Stack" menu item.
Mark
If you want to add a copy of a substack to another substack, you need to clone it first and then set the mainstack of the new stack.
Code: Select all
clone stack "Substack Z"
set the name of it to "Substack X"
set the mainstack of stack "Substack X" to "Mainstack A"
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Posts: 746
- Joined: Sun Feb 04, 2007 11:01 pm
Hi Tom,
The answer stays the same, but now that I understand that you need this only once, I can add the following.
Open the property inspector of stack calendarWidget100. Use the mainstack option menu to change its mainstack to your own stack. Close stack altAnswerDateHarness, make sure not to save it and that it is actually removed from memory. This can easily go wrong, so you might want to make a backup of altAnswerDateHarness. Save your own stack and you're ready.
(I think that cloing the stack by running aforementioned script from the message box is easier and more secure).
Best,
Mark
The answer stays the same, but now that I understand that you need this only once, I can add the following.
Open the property inspector of stack calendarWidget100. Use the mainstack option menu to change its mainstack to your own stack. Close stack altAnswerDateHarness, make sure not to save it and that it is actually removed from memory. This can easily go wrong, so you might want to make a backup of altAnswerDateHarness. Save your own stack and you're ready.
(I think that cloing the stack by running aforementioned script from the message box is easier and more secure).
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode