How to copy a substack from one rev file to another

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
phaworth
Posts: 592
Joined: Thu Jun 11, 2009 9:51 pm

How to copy a substack from one rev file to another

Post by phaworth » Thu Mar 25, 2010 11:36 pm

For reasons connected with my earlier post about not being able to undo various changes, I need to copy a substack from a backup copy of my .rev file into the current version of it, deleting the existing substack with the same name.

How can I do this?

Thanks,
Pete

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Re: How to copy a substack from one rev file to another

Post by BvG » Fri Mar 26, 2010 12:51 am

open stack with wrong substack. message box:

delete stack "substack name goes here"



Save the mainstack, and open the stack with the correct stack, again in the message box:

set the mainstack of stack "substack name goes here" to "mainstack name goes here"
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

phaworth
Posts: 592
Joined: Thu Jun 11, 2009 9:51 pm

Re: How to copy a substack from one rev file to another

Post by phaworth » Fri Mar 26, 2010 1:37 am

Excellent! Worked perfectly, thanks a lot.
Pete

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”