Can a substack become the mainstack and the mainstack become its substack?

Bob Sneidar bobsneidar at iotecdigital.com
Tue Jan 22 12:54:26 EST 2019


You do not need to make the splash stack the mainstack. Just include the actual mainstack in the Stack Files of the splash screen stack, and when have code in the splash screen stack that opens the main stack. Then you can still keep your stack/substack structure of your project. 

Bob S


> On Jan 20, 2019, at 18:05 , Geoff Canyon via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Sure, just create the stack you want to use as the splash screen, and then
> set the mainstack of the current mainstack to the splash screen stack. I
> think this will fail if the mainstack has substacks of its own. So first
> change the substacks, then the mainstack. And if you are depending on the
> substacks being able to reference handlers/functions in the (current)
> mainstack, either move the handlers and functions to the new mainstack, or
> convert to a behavior stack and use that for everything.
> 
> gc





More information about the use-livecode mailing list