Hi Keith, I don't know whether the ownership of the window actually changes, when you go to the substack. What happens if you try
go stack "Name of mainstack" in the window of stack "Name of mainstack" (This might be completely wrong, but if everything else fails, just give it a try). You'd have to read the docs for this, but perhaps it is also possible to store the window ID in a variable and use that to refer to the window, instead of "the window of me". -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 23 mrt 2011, at 12:34, Keith Clarke wrote: > Hi Folks, > I'm using 'go to stack "substack" in the window of me' to navigate to > substacks in a revlet but can't seem to find a suitable script for a 'close' > button on the substack to return to the main stack. The following lines are > ignored: > > 'go to stack "<main-stack>" in the window of me' > 'go to stack "<main-stack>"' > 'go back' > > So, what's the secret formula? ;-) > Best, > Keith _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
