Make stack close itself

dunbarx at dunbarx at
Wed May 21 00:32:16 EDT 2014


Not sure what you are up against. This works fine.

To test. make a new stack. Put a button in it with this in its script:

on mouseUp
close this stack
end mouseUp


Craig Newman

-----Original Message-----
From: Bob Sneidar <bobsneidar at>
To: How to use LiveCode <use-livecode at>
Sent: Tue, May 20, 2014 9:41 pm
Subject: Make stack close itself

Hi all.

I am at a complete loss. I am trying to make a stack close itself via script. I 
get you cannot do this while a script is running, so I tried send in time. No 
dice. Stack no close. I tried send “close me” to this stack in 1 second. No 
close. I tried sending close stack (insert the long ID of the current stack 
here> to the main stack in 1 second. Still no close. Is there *any* way to get a 
dam stack to close itself, and if not, shouldn’t there be??? 

I created a command in a back script that takes the long ID of the current 
stack, and then I sent in time passing the current long ID to it. S T I L L    N 
O   C L O S E!!!!!!!

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription 


More information about the Use-livecode mailing list