How to return to where left off before closing stack.

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
SusanB
Posts: 111
Joined: Mon Nov 07, 2011 4:10 am
Contact:

How to return to where left off before closing stack.

Post by SusanB » Wed Oct 10, 2012 6:53 pm

I can't seem to figure out how on openStack I can get back to the screen I left off with the same globals in effect as I had before closing the stack. Any help would be greatly appreciated!

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: How to return to where left off before closing stack.

Post by jmburnod » Wed Oct 10, 2012 7:13 pm

Hi Susan,
If i understand what you want, i think you have to write the name of card you left and the globals in a file of the document folder. The next time you open the stack, you're reading this file and opening the wanted card with its globals.
Jean-Marc
https://alternatic.ch

Klaus
Posts: 14183
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: How to return to where left off before closing stack.

Post by Klaus » Wed Oct 10, 2012 7:20 pm

Hi Susan,

yep, just like in real life:
If you can't remember something, you should write it down and put that note in a place where you can find it the next time!

Why is everyone always thinking so "computer-centric" to solve a problem?
(Rhetorical question!) 8)

Check this thread (example stack included to get you started)
http://forums.runrev.com/phpBB2/viewtop ... 49&t=10419


Best

Klaus

SusanB
Posts: 111
Joined: Mon Nov 07, 2011 4:10 am
Contact:

Re: How to return to where left off before closing stack.

Post by SusanB » Wed Oct 10, 2012 7:26 pm

Thanks so much! I know, I can't remember where I put my keys let alone all that other stuff. I'm going to work on that ASAP.
I've actually successfully uploaded my first app, and it seems to be in waiting to be reviewed purgatory. In the mean time, I read somewhere that they like you to be able to return to where you left off. Also, I found a stupid little easy to fix bug which I somehow missed and don't want to appear in any downloads, so I guess I'll have to submit a 2nd version before the release date of the first version, if that's possible.

SusanB
Posts: 111
Joined: Mon Nov 07, 2011 4:10 am
Contact:

Re: How to return to where left off before closing stack.

Post by SusanB » Sat Oct 13, 2012 5:38 am

I just want to say that I love everybody in this forum ;) Thanks to you, my first app was just approved! Before it's release, I am going to resubmit a version with that one tiny little bug fixed, but there is light at the end of the tunnel. "Return to page" will definitely be included in the next major upgrade (it's kind of complicated and it always takes me a loooong time to do things like that).

So thanks again, my heroes!

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: How to return to where left off before closing stack.

Post by Dixie » Sat Oct 13, 2012 9:33 am

Hey..

Attached a stack that will do what you wish... swipe through the cards, close the stack... open it again.. and voila!
Al the handlers are in the stack script, but it is the openCard handler that does what you wish.

be well

Dixie
Attachments
swipes.livecode.zip
(2.02 KiB) Downloaded 280 times

Post Reply