saving control choices on each card

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
bdtrauma
Posts: 34
Joined: Fri Dec 24, 2010 11:37 pm

saving control choices on each card

Post by bdtrauma »

This might have already been discussed, but I am working on a program to do history and physicals on the iPad. Each card has many checkboxes. I'd like to be able to open and close the app with the choices saved somehow. It looks like I have to write a routine to store the status of each checkbox for each card for it to work on mobile devices? ...am I correct or is there an easier way. I'd love to use the save stack, but I don't think that works on the mobile devices.

Any help as usual is very much appreciated. I love this forum... reminds me of the old hypercard days.

Bert
Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: saving control choices on each card

Post by Mark »

Hi Bert,

Yes, you have to save the hilite of each checkbox to a separate file. A simple text file should suffice.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: saving control choices on each card

Post by Klaus »

Hi Bert,

maybe my last newsletter article may help you in doing so:
http://runrev.com/newsletter/december/i ... etter4.php


Best

Klaus
bdtrauma
Posts: 34
Joined: Fri Dec 24, 2010 11:37 pm

Re: saving control choices on each card

Post by bdtrauma »

Great example. I will try this. Does 4.5.3 (when it comes out) save the content of each card in the stack.

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

Re: saving control choices on each card

Post by Klaus »

Hi Bert,
bdtrauma wrote:Great example. I will try this.
You're welcome :)
bdtrauma wrote:Does 4.5.3 (when it comes out) save the content of each card in the stack.
??? Standalone cannot save themselves EVER! Is that what you mean?

Or do you mean the things discussed in the "Database for iPhone" thread? Then the answer is yes :)


Best

Klaus
bdtrauma
Posts: 34
Joined: Fri Dec 24, 2010 11:37 pm

Re: saving control choices on each card

Post by bdtrauma »

Klaus,

When I click on the example stack it looks like it tries to download it (i see my progress bar on the download folder start zipping across) but no file ends up in my download folder? Not sure if it is my Mac? Do you have another link for it?

Thanks,

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

Re: saving control choices on each card

Post by Klaus »

Hi Bert,

just tested and it downloaded fine on my Mac!?

I can send the file to you via mail, if you like.
Send your address to me: klaus AT major.k.de

Best

Klaus
bdtrauma
Posts: 34
Joined: Fri Dec 24, 2010 11:37 pm

Re: saving control choices on each card

Post by bdtrauma »

Thanks klaus. My email is duvoisin@chw.edu. I appreciate the help

Bert
Post Reply