Page 1 of 1

How to copy a Stack from one rev file to another?

Posted: Wed Apr 11, 2012 7:13 pm
by rr191
Still try to get the hang of this language and IDE. I found a date picker on this forum that I want to use in my app. How do I copy the stack from that rev file to my own. I looked all over but can't seem to figure it out.

-- Rob

Re: How to copy a Stack from one rev file to another?

Posted: Wed Apr 11, 2012 7:22 pm
by mwieder
Hi Rob-

Open the stack in the IDE, then open the Property Inspector for the stack.
Change the mainstack of the calendar stack to your stack (it defaults to itself).
That will make the calendar stack a substack of your app.
Save your stack and you're done.

Re: How to copy a Stack from one rev file to another?

Posted: Wed Apr 11, 2012 7:22 pm
by Klaus
Hi Rob,

1. welcome to the forum :D

2. please check these stacks to get a "feel" for LiveCode:
http://www.runrev.com/developers/lesson ... nferences/

3. to your question, does the datepicker stack have substacks?


Best

Klaus

Re: How to copy a Stack from one rev file to another?

Posted: Wed Apr 11, 2012 10:00 pm
by rr191
MWeider - Thanks for the info. Worked perfectly. I was looking for a copy or import.

Klaus -- Thanks for the welcome. I have already started looking at the lessons.

Thanks everyone.

-- Rob