Re: Substacks

2022-05-28 Thread Mark Wieder via use-livecode
On 5/28/22 07:15, General 2018 via use-livecode wrote: Hi , New to substacks - I have a “mainstack” used as a menu page for 2x “substacks” When “substacks” opened from “mainstack” they open fine using — go to stack “xyz” The problem is closing of the “substacks” using - close stack, go to “m

Re: Substacks

2022-05-28 Thread Bob Sneidar via use-livecode
Hide the mainstack, when opening the substack, then show the mainstack in the substack’s closestack handler. Sent from my iPhone > On May 28, 2022, at 12:41, General 2018 via use-livecode > wrote: > > Thanks for the tip but still no good. > > So button in “xyz” substack with close stack “x

Re: Substacks

2022-05-28 Thread J. Landman Gay via use-livecode
In an app, the mainstack is the home stack. If it's closed and no other stack is open then the app will quit. But if you open a substack, the app can't quit because the substack is part of the stackfile but the mainstack is still marked as closed. So the trick is not to close the mainstack, just

Re: Substacks

2022-05-28 Thread General 2018 via use-livecode
Thanks for the tip but still no good. So button in “xyz” substack with close stack “xyz” still closes all ? Regards Camm > On 28 May 2022, at 17:29, Thomas von Fintel via use-livecode > wrote: > > Hi, > > did you try close stack "xyz" ? Thias works for me, in the IDE at least, > both if c

Re: Substacks

2022-05-28 Thread Thomas von Fintel via use-livecode
Hi, did you try  close stack "xyz" ? Thias works for me, in the IDE at least, both if called from the mainstack and from the substack. Only the substack is closed. Livecode 9.6.7 and Windows 10 Hope this helps Thomas Am 28.05.2022 um 16:15 schrieb General 2018 via use-livecode: Hi , Ne

Substacks

2022-05-28 Thread General 2018 via use-livecode
Hi , New to substacks - I have a “mainstack” used as a menu page for 2x “substacks” When “substacks” opened from “mainstack” they open fine using — go to stack “xyz” The problem is closing of the “substacks” using - close stack, go to “mainstack” or close this stack it always closes (quit) eve