Closing substack, closes RunRev and the application

mfstuart mfstuart at cox.net
Tue May 29 17:56:26 EDT 2007


Yes, that's exactly what my situation is Devin.
Thanx a million.
But what would I add to each substacks on closeStack? Nothing? I'm not sure.
-Mark



Devin Asay wrote:
> 
> 
> On May 29, 2007, at 2:17 PM, mfstuart wrote:
> 
>>
>> Hi all,
>> While in edit mode of my application, I opened a substack and added  
>> a script
>> to a button. I saved the application with the File > Save - so far no
>> problem. But when I clicked on the substacks X (Close) button, it  
>> closed the
>> complete application and exited Run Rev.
>> Can someone explain what I'm doing wrong here?
> 
> Mark,
> 
> If your mainstack (which becomes the executable when saved as  
> standalone) has an closeStack handler that issues a quit command,  
> then any substack that does not have its own closeStack handler would  
> automatically pass closeStack up to the mainstack, triggering the quit.
> 
> Just a guess, but this has happened to me before.
> 
> Devin
> 
> Devin Asay
> Humanities Technology and Research Support Center
> Brigham Young University
> 
> _______________________________________________
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/Closing-substack%2C-closes-RunRev-and-the-application-tf3836317.html#a10863468
Sent from the Revolution - User mailing list archive at Nabble.com.




More information about the use-livecode mailing list