Page 1 of 1

Close Substack Question

Posted: Tue Jun 17, 2014 7:03 pm
by kosmo01
I have a stack opening a substack...

go to stack "Untitled 2" as modal dialog box

In my substack I have the option to:

close this stack

When it goes back to my main stack, I get the following error:

execution error at line 3 (Handler: can't find handler) near "dialog"

The error is on the "go to stack" command. How can I close my substack and go back to the main stack without any errors?

Thanks,
Kosmo

Re: Close Substack Question

Posted: Tue Jun 17, 2014 7:28 pm
by FourthWorld
"Modal" is all you need; the engine is complaining because it doesn't understand the addition of "dialog box" after it.

Re: Close Substack Question

Posted: Tue Jun 17, 2014 7:30 pm
by kosmo01
Richard,

Something so simple...causing me such a headache! :)

Thank you very much for your help!

Kosmo

Re: Close Substack Question

Posted: Tue Jun 17, 2014 7:46 pm
by FourthWorld
One of the biggest challenges with LiveCode is its simplicity. ;)

One of its greatest assets is its Dictionary.

Neither LiveCode nor its Dictionary are anywhere close to perfect; each has its quirks.

But in general, when in doubt take a moment to look up a token giving you trouble, and most of the time you'll get the answer straight away.

And for the other times, you've already found the second greatest resource: this forum. :)