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 > <use-livecode@lists.runrev.com> wrote: > > 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 >> <use-livecode@lists.runrev.com> wrote: >> >> 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 , >>> >>> 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) everything. Need >>> “mainstack” to reappear/remain ? >>> >>> Looked at docs and other posts. But stuck no doubt I have missed something. >>> >>> Livecode 9.6.6 and Win 10 >>> >>> Regards >>> Cam >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode