Message Box as a substack of my mainstack???

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
paulgabel
Posts: 31
Joined: Tue Jun 19, 2007 7:03 pm
Contact:

Message Box as a substack of my mainstack???

Post by paulgabel » Mon Jul 16, 2007 5:51 am

Rev Studio 2.8.1
Mac OS X 10.4.10
iMac Intel

I had a mainstack with 5 substacks. I decided to make a new mainstack, so I created it then copied the original substacks to the new mainstack using:

Code: Select all

set the mainstack of stack "substack" to "mainstack"
Also, I cloned my original mainstack and put the clone into my new mainstack by the method described above. Somehow I ended up with the Message Box as a substack of my new mainstack. When I enter "put the substacks of this stack" [the new mainstack] into the Message Box, it lists the Message Box! It's shown on the "saving" list too. I never saw this before.

Also, now every time I open my mainstack or click command-M to open the Message Box, I get the error message: "A stack 'Message Box' in file /Users/ ... /Desktop/ ... /.rev" is already in memory. The Revolution UI does not distinguish stacks which have identical names, so editing these stack files while both are in memory could result in data loss." This is inconvenient, anomalous, and scary. Though, as usual, I'm sure I did something wrong.

How do I get the Message Box stack out of my mainstack files? Thank you very much for any help you can offer. :oops:

P.S. When I get a little better, I'll start helping others, too.
Paul Gabel

xApple
Posts: 113
Joined: Wed Nov 29, 2006 10:21 pm

Post by xApple » Mon Jul 16, 2007 6:14 am

It might not be you... this last update of rev seams very buggy apparently...
To delete the stack just type:

Code: Select all

delete stack "Message Box"
Or get its id if it doens't work like that.

paulgabel
Posts: 31
Joined: Tue Jun 19, 2007 7:03 pm
Contact:

Thanks

Post by paulgabel » Tue Jul 17, 2007 5:46 pm

Thanks xApple. I was afraid that if I deleted the stack "Message Box" I wouldn't have one anymore. But I followed your advice and everything turned out just fine. :D
Paul Gabel

Post Reply