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
Close Substack Question
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 10053
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Close Substack Question
"Modal" is all you need; the engine is complaining because it doesn't understand the addition of "dialog box" after it.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Close Substack Question
Richard,
Something so simple...causing me such a headache!
Thank you very much for your help!
Kosmo
Something so simple...causing me such a headache!

Thank you very much for your help!
Kosmo
-
- VIP Livecode Opensource Backer
- Posts: 10053
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Close Substack Question
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.

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.

Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn