Revlet - how to get back to the main stack from a substack?

Mark Schonewille m.schonewille at
Wed Mar 23 08:52:35 EDT 2011

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
KvK: 50277553

New: Download the Installer Maker Plugin 1.6 for LiveCode here

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

More information about the Use-livecode mailing list