when can I set a substack's properties?

Dan Shafer revdan at danshafer.com
Tue Aug 2 19:46:28 EDT 2005


I suspect it'll be just fine in the standlone. I've done this a few  
times as I recall and haven't seen any negative consequences.

Another way of doing this -- I mention it because when I do, people  
often say, "I didn't know you could do that!" -- is to use the open  
invisible option on the substack.


On Aug 2, 2005, at 4:29 PM, Charles Hartman wrote:

> I'm not clear about when a substack "exists." I want to set some  
> custom properties in a substack from a script in the main stack,  
> and it would be a lot handier if I could do it before issuing the  
> "open" command for the substack. It seems to work OK during my  
> development cycle in the IDE. But will it work (in a stack being  
> run under the Dreamcard Player) the first time out of the box? Or  
> do I have to issue an "open" command before Rev will know the  
> substack exists, and where to put stuff in it?
>
> The substack is part of the stack file, so is it true that Rev  
> knows all about it, and properties (custom or built-in) can be set  
> before it's opened? The IDE's own evidence is kind of mixed: the  
> Application Browser knows the substack while it's closed, but the  
> Inspector doesn't.
>
> Charles Hartman
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
 From http://www.revolutionpros.com, Click "My Stuff"






More information about the use-livecode mailing list