Adding a stack to an existing stack (Late addition)

63 views
Skip to first unread message

Francis Nugent Dixon

unread,
Feb 23, 2011, 9:07:42 AM2/23/11
to use-li...@lists.runrev.com
Hi from Beautiful Britanny,

I have two independant compiled stacks (.rev).
I want to define one of those stacks as a
main stack, and the other as a substack, and I
want to do it so that the two stacks will be
in my Mac Bundle (see Sarah Reichelt's document)

http://livecodejournal.com/tutorials/saving_data_in_revolution.html

So, using the Standalone Application Settings,
I know that I can create an empty sub-stack, build
it and thus solve my problem. But how do I add an
existing stack, to a main SplashStack, as a sub-stack?

I tried adding a stack file and then "Save as Standalone".

I went into an endless loop, but anyway the added stack
was under MAIN, and not as a substack, so it wasn't
what I wanted.

Any help appreciated.

-Francis

"Nothing should ever be done for the first time !"

_______________________________________________
use-livecode mailing list
use-li...@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

zryip theSlug

unread,
Feb 23, 2011, 9:28:34 AM2/23/11
to How to use LiveCode
On Wed, Feb 23, 2011 at 3:07 PM, Francis Nugent Dixon
<eff...@wanadoo.fr> wrote:
> Hi from Beautiful Britanny,
>
> I have two independant compiled stacks (.rev).
> I want to define one of those stacks as a
> main stack, and the other as a substack, and I
> want to do it so that the two stacks will be
> in my Mac Bundle (see Sarah Reichelt's document)
>
> http://livecodejournal.com/tutorials/saving_data_in_revolution.html
>
> So, using the Standalone Application Settings,
> I know that I can create an empty sub-stack, build
> it and thus solve my problem. But how do I add an
> existing stack, to a main SplashStack, as a sub-stack?
>
> I tried adding a stack file and then "Save as Standalone".
>
> I went into an endless loop, but anyway the added stack
> was under MAIN, and not as a substack, so it wasn't
> what I wanted.
>
> Any help appreciated.

Hi Francis,

Did you tried:
set the mainStack of stack "myExistingStack" to "SplashStack"


Best regards,
--
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc

Robert Brenstein

unread,
Feb 23, 2011, 11:07:58 AM2/23/11
to How to use LiveCode
On 23.02.11 at 15:07 +0100 Francis Nugent Dixon apparently wrote:
>Hi from Beautiful Britanny,
>
>So, using the Standalone Application Settings,
>I know that I can create an empty sub-stack, build
>it and thus solve my problem. But how do I add an
>existing stack, to a main SplashStack, as a sub-stack?
>

Open both stacks in IDE, open the stack inspector for the stack that
you want te become a substack, set the main stack popup menu to the
other stack, save. This will save the substack into the stackfile of
the mainstack.

Robert

Francis Nugent Dixon

unread,
Feb 24, 2011, 7:14:50 AM2/24/11
to use-li...@lists.runrev.com
Thanks to Zryip TheSlug and to Robert

Problem solved !

-Francis

"Nothing should ever be done for the first time !"

Reply all
Reply to author
Forward
0 new messages