Ok, in that case, would the following work:
  

  
On openStack
  
      Set the behavior of me to stack "parent"
  
      Set the behavior of stack "child" to me
  
End openStack
  

  
There may be some need to check that referenced stacks are open, but just did 
some experimenting to verify that the calls work in the IDE.    I'm guessing 
you would want to possibly have them only set in one direction though.
  

  
Thanks,
  
Brian
  
  

  
>   
> On Aug 20, 2017 at 3:51 PM,  <Monte Goulding via use-livecode 
> (mailto:use-livecode@lists.runrev.com)>  wrote:
>   
>   
>   
>   >  On 21 Aug 2017, at 5:48 am, Brian Milby via use-livecode wrote:  >   >  
> What about handlers? Stacks already call preOpenStack and related handlers. 
> Adding handlers that get called automatically would leave it as script only 
> but allow for post-load initialization. I haven't looked to see what is 
> already processed though. Hmm… I’m not sure what you mean here. Script only 
> stacks are sent the same messages as binary stacks. Do you think they need 
> something else? I have suggested a `loadStack` message here for when a stack 
> is loaded into memory but that’s not specific to script only stacks either. 
> http://quality.livecode.com/show_bug.cgi?id=18223 Cheers Monte 
> _______________________________________________ use-livecode mailing list 
> use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe 
> and manage your subscription preferences: 
> http://lists.runrev.com/mailman/listinfo/use-livecode  
>
>   
  
  
 
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to