Page 1 of 1

Navigation between substacks in your app

Posted: Thu Feb 04, 2016 6:35 pm
by CElwell
Hello, I am wondering how to navigate between substacks within your app. For example, I have an image I am using as a button which I want to open another substack with more detailed information. How do I do this? Thank you in advance! :D

Re: Navigation between substacks in your app

Posted: Thu Feb 04, 2016 6:38 pm
by Klaus
Hi CElwell,

1. welcome to the forum! :D

2. what about:

Code: Select all

on mouseup
  go stack "you substack name here..."
end mouseup
?

Please check these stacks to get the basics of Livecode:
http://www.hyperactivesw.com/revscriptc ... ences.html

And also these lessons:
http://lessons.livecode.com


Best

Klaus

Re: Navigation between substacks in your app

Posted: Thu Feb 04, 2016 6:47 pm
by CElwell
Thank you so much!!! Also is there a way to duplicate a stack to edit. For example, duplicate my "home" stack?

Re: Navigation between substacks in your app

Posted: Thu Feb 04, 2016 6:58 pm
by Klaus
ATTENTION! Do not name any of your stack "Home"!
Livecode uses this name for one of their IDE stacks and that asks for trouble! 8)

But yes, check "clone" in the dictionary:
...
clone stack "my_home"
...
Et voila, a stack named: Copy of myhome
:D


Best

Klaus