Page 1 of 1

Dismiss a modal stack?

Posted: Sun Jan 10, 2010 10:48 pm
by Peregrine
Help!
I have a mainstack with a substack. I intend to use the substack as a tool palette, eventually. I mistakenly thought to open it as a modal stack (I was thinking about palette and modal and confused the two), so I added something like this to the mainstack script:

Code: Select all

on openStack
    modal substackname...
Now, of course, every time I open my mainstack, the substack pops open... and I have no "close" button on it... so I'm just stuck.
How do I dismiss this substack without a "close" button?
I can't figure out how to get rid of it, so I can keep working on my mainstack.
Any suggestions would be very much appreciated!

(P.S. I've read through the dictionary, User Guide, and several parts of this forum, and I'm still stumped.)

Re: Dismiss a modal stack?

Posted: Mon Jan 11, 2010 12:58 am
by bn
Hi Peregrine,

You can either quit Rev and the restart Rev. In the Development Menu you select Suppress Messages and then you open your mainstack, it should not start the modal substack.
You can also put into the message box: toplevel stack "myModalStack", this should revert the modal state and you can edit your main stack.
If this does not help please come again.
regards
Bernd

Re: Dismiss a modal stack?

Posted: Mon Jan 11, 2010 1:29 am
by Peregrine
Hallelujah!
Thanks so much for your help, Bernd. That did the trick. And I thought I had maybe lost all that work the most recent version. Thanks!