How do I close a Stack (Window)
dburgun at dsl.pipex.com
Thu Apr 8 13:10:44 CDT 2004
More on this.
I have the Main Stack on the second screen and I press the button.
The new stack appears on the main screen and it active for a short
while, then it goes inactive and the Main Stack goes active again!
What am I doing wrong?
Thanks for your help
>That worked fine for the Splash Screen (once I realized that I had
>to Close it Manually to get it to re-open and do it's stuff - This
>is where RunRev REALLY gets me! Although I am getting used to it
>I have one more question on this though. I have a button that needs
>to call a Stack (dialog), I have the following script on the button:
>Which calls the stack ok, but it doesn't become the frontmost
>window. Well maybe it does sometimes, not sure, still playing. Is
>there something else I need to do to make it be the active window?
>>>I have setup my RunRev project so that I have a main stack which
>>>just acts as a Splash Screen and does some initialization, once it's
>>>been on the screen for 2 seconds, I want it to go away.
>>>Should I hide it or close it? How do I do this?
>>Well, that's a matter of taste :-)
>>I, personally, hide my splash-screens most of the time...
>>And, as you might have guessed:
>>hide stck "xyz"
>>close stack "xyz"
>>will do the job ;-)
>>Something like this in your splash screen stack:
>> wait 2 secs
>> toplevel "The menu stack or whatever..."
>> close stack "name of splah screen here..."
>> ## close this stack won't work, since "The menu..."
>> ## in now THIS stack...
>> ## Have been fooled before by this ;-)
>>>I also have a couple of Sub-Stacks that I want to display, have the user
>>>fill in some details (like a dialog box) and then close, again how
>>>do I do this?
>>Add a "Cancel" and "OK" button to your dialogs with a "close this
>>handler and open these stacks as modal:
>>modal "my very special dialog box"
>>Hope this helps..
>>klaus at major-k.de
>>use-revolution mailing list
>>use-revolution at lists.runrev.com
>use-revolution mailing list
>use-revolution at lists.runrev.com
More information about the use-livecode