Integrating Stack

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
gwbasic
Posts: 34
Joined: Tue Mar 16, 2010 6:39 am

Integrating Stack

Post by gwbasic » Mon Aug 16, 2010 3:51 am

I want to integrated a stack which located in another rev file. I don't want to have too many files around so I want have this stack as a substack in my current project. How do you do that in rev?

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Re: Integrating Stack

Post by Janschenkel » Mon Aug 16, 2010 5:37 am

Open both stacks in the IDE, then activate the stack which you wish to make a substack, and open the stack inspector. In the 'Basic' panel, there's an option menu 'Main stack' where you can pick another open stack as the 'parent' of your stack.
Bear in mind that you can't have substacks of substacvks, so if the stack you're inserting has substacks of its own, you'll have to transfer these substacks as well, one by one.

HTH,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Post Reply