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 On 27/01/2014, at 12:00 PM, use-livecode-requ...@lists.runrev.com wrote: > Date: Mon, 27 Jan 2014 12:21:39 +0200 > From: Ender Nafi Elekcioglu <endern...@keehuna.com> > To: How to use LiveCode <use-livecode@lists.runrev.com> > Subject: Re: How to Reset ID's of Controls > Message-ID: <etPan.52e63333.6b8b4567.1b9@fdbqMacBookPro.local> > Content-Type: text/plain; charset="utf-8" > Since, there isn?t any native command to do this; > I created a new stack and copied my cards to it. > > It resulted two things: > 1. My background group has completely gone crazy. > Now the group itself is *shared* and *background*, but its controls are not. > Interesting, isn?t it? > I have a field ?instructions? for example. > Its content is different on each card. > It has a couple of nested groups whose rects are different on each card. > > 2. After all, my struggle of hours was pointless. > Because the ids could reach to 5 figures {34657} in no time. > I was creating some controls on the fly and delete them on closeCard or > closeStack; > and apparently Livecode doesn?t reset the ids at all. > > It just adds up to the recent id regardless of that control deleted or not. > > So, does that mean if the user runs the app, say 1000 times, the ids will > reach zillion figures? > I have tens of cards, each one has hundreds of controls? > and I create those controls on each time the user navigates to those cards. > > > I?m confused, this is a crucial project, my client is a governmental > institution > and I can?t afford if all users start to report crashes a couple of months > later. > > > Or am I being paranoid here? > > It?s an iOS project, btw. > > > Appreciate every insight, > > Thanks? > > ~ Ender _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode