Splash Screen closing

Ray Bennett smilingeyes at mac.com
Tue Dec 23 07:29:05 CST 2003


If you set the "destroystack" and "destroywindow" properties of your 
splash screen to TRUE, you can use "close stack myStack" instead of 
delete stack.  I _think_ it accomplishes the same thing -doesn't it?

You can use the message box to set these properties for your splash 
screen
    set the destroystack of mySplashScreen to TRUE; set the 
destroywindow of mySplashScreen to TRUE

Delete just scares me because if for some silly reason you execute it 
on a substack - poof!

On Tuesday, December 23, 2003, at 04:54 AM, Klaus Major wrote:

> Hi Erik,
>
>> --- Scott Slaugh <xslaugh at hotmail.com> wrote:
>>
>>> on preOpenStack
>>>   set the decorations of this stack to none
>>> end preOpenStack
>>>
>>> on openStack
>>>   open stack "My Program.rev"
>>>   hide this stack
>>> end openStack
>>
>> thanks Scott, this is very clear and basic.
>>
>> is there a way to close the splash stack
>> and delete it from memory (like the file menu
>> option) after "My Program.rev"
>> is up and running?
>
> ...
> delete stack "your mainstack" ##!!! mainstacks only !!!
> ...
>
> From the docs:
> Use the delete stack command to delete a substack, or to purge a main 
> stack from memory.
>
> Hope that helps...
>
>> Erik
>
> Regards
>
> Klaus Major
> klaus at major-k.de
> www.major-k.de
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list