Importing a stack

Mark Smith mark at maseurope.net
Fri Jan 27 20:02:16 EST 2006


In the property inspector for the stack you want to bring in, set the  
Mainstack of it to the stack you want to bring it in to....

Or, in the message box:

set the mainstack of stack "wouldBeSubStack" to "myMainStack"

in other words, each stack has a mainstack property, which is set to  
itself if it's a mainstack, or another stack if it's a substack, and  
you can set and get this property.


Mark Smith

On 28 Jan 2006, at 00:47, Scott Kane wrote:

> Hi,
>
> Another little issue this morning...
>
> Is there a way of importing another stack
> (as a sub-stack) into the current stack at
> design time?
>
> I'm needing to bring in something else I
> wrote (in a stack) and really would prefer
> to write it within the primary stack, though
> I guess if there isn't I'll have to use it
> as an external stack and load it at runtime.
>
> Any thoughts greatly appreciated...
>
> Scott
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list