How to delete a subStack?

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
gyroscope
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 404
Joined: Tue Jan 08, 2008 3:44 pm
Contact:

How to delete a subStack?

Post by gyroscope » Sat May 17, 2008 2:01 pm

Hi, this one is probably very obvious (and to some people may seem a bit pointless :wink:) but I can't see how to delete a subStack. Deleting a card is fine, but there's no Delete SubStack in the menu; if I delete the only card which is the subStack itself with one card, the subStack remains...

In my project, I made it a very small square, and just don't open it...but I know it's there...it just seems a bit "untidy" with an (admittedly now very small) invisible substack in memory...

Is this the way it is, just ignore it?

:)

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sat May 17, 2008 2:45 pm

Dear Gyroscope,

I believe you can do this in the application browser. I never use the application browser, though, because I find it impractical. Usually, I just type this in the message box, if I want to delete a substack:

delete stack "Substack Name" of stack "Mainstack Name"

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

gyroscope
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 404
Joined: Tue Jan 08, 2008 3:44 pm
Contact:

Post by gyroscope » Sat May 17, 2008 4:45 pm

Thank you Mark, that does the job just fine!

:)

Edit: I've just found out another way: Rev Menu>Tools>Application Browser.
Hold down control while clicking on the relevant substack and a menu appears which includes Delete SubStack.

Post Reply