How to Reset ID's of Controls
Ender Nafi Elekcioglu
endernafi at keehuna.com
Mon Jan 27 08:18:34 EST 2014
Alan hi,
About second part of your reply: no, I don’t use any stack as a datafile.
For that purpose, I’m using a couple of simple text files and a big SQLite database.
The app has a library substack which is static and don’t alter during runtime;
the mainstack has 23 cards which have several hundreds of controls
and the majority of those controls are created on the fly since the content is dynamic.
It’s kind of a news app.
About the first part of your reply: I’ve thought this, too, after sending that last post.
This is a standalone and there is no way to alter a digitally signed app, right?
We can’t even set or create a new custom property during runtime on iOS.
So, maybe this *ID’s constantly increasing* issue is related merely to the development environment.
I should test this as soon as possible.
Regards,
~ Ender
From: Alan Stenhouse Alan Stenhouse
Reply: Alan Stenhouse
Date: January 27, 2014 at 13:21:43
To: use-livecode at lists.runrev.com use-livecode at lists.runrev.com
Subject: Re: use-livecode Digest, Vol 124, Issue 44
Hi Ender
I can't imagine that once you build your standalone that there will be any change at all to the IDs inside it - that shouldn't be possible - unless you're opening a separate stack/data file and modifying that?
If it is a "datafile" that you're including/modifying and you're creating so much from scratch each time, is it really necessary that it's a separate stack file? Can you somehow just save the last status in a text/data file and rebuild on startup?
What is your actual setup for this app?
cheers
Alan
More information about the use-livecode
mailing list