Is there a way to merge 2 stacks?

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
minx
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 43
Joined: Tue May 31, 2011 3:47 am

Is there a way to merge 2 stacks?

Post by minx » Sat Aug 13, 2011 8:19 pm

Hello,
I have 2 separate stacks that I'd like to "concatenate". And if possible, I'd like to leave the card numbers intact. Is there a way to do this? If not, could I renumber them afterwards?
Also, is there a way to add a card before the first card ("card 1")?
Thanks!
Diane

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10043
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Is there a way to merge 2 stacks?

Post by FourthWorld » Sat Aug 13, 2011 8:25 pm

minx wrote:Hello,
I have 2 separate stacks that I'd like to "concatenate". And if possible, I'd like to leave the card numbers intact.
You can copy and paste cards between stacks, but if you add cards from one stack to another the number of cards in the destination stack will change so of course it won't be possible to preserve the ordinal numbers for all of them.
Also, is there a way to add a card before the first card ("card 1")?
You can set the number property of the card, e.g.:

set the number of this cd to 1
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply