livecode - How do I create a substack with code? -


how create named substack background livecode?

the livecode dictionary has entry

create stack

with examples

create stack "test"
or

create stack field 3 background "standard navigation"

there no single command create substack. instead need create mainstack, , change it's mainstack property other stack make substack of one. example:

create stack "my new stack" set mainstack of "my new stack" "some existing stack" 

see mainstack property, mainstacks function , mainstackchanged message in dictionary.

there way achieve goal, setting mainstack of templatestack (see templatestack object in dictionary):

set mainstack of templatestack "some existing stack" create stack "my new stack" 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -