Resetting ids

Bob Sneidar bobsneidar at iotecdigital.com
Fri Sep 27 17:40:05 EDT 2024


I believe it will still work, but it will increment all other objects with that ID and higher. 

Bob S


> On Sep 27, 2024, at 1:54 PM, R.H. via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> @jbv at souslelogo.c <jbv at souslelogo.com>om You can reassign id's to your
> controls: "Set the id of control x to 200" will work if no other control
> has such id.
> 
> 
>> 
>> Hi list,
>> 
>> I have a script that creates various controls on the fly
>> and then groups some of them for a rather sophisticated layout.
>> As I had to make many tests, modify my script many times
>> and save the stack each time, the ids of the controls now
>> reach astronomical values (above 400000).
>> Is there a way to reset the ids to minimum values before
>> building the final standalone, or will they be reset
>> automatically when the standalone is built ?
>> My fear is that, when running the standalone, new created
>> controls ids will get even greater values and might
>> finally reach a maximum...
>> 
>> Thank you in advance.
>> jbv
>> 
>> 
>> 
>> ------------------------------
>> 
>> Subject: Digest Footer
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ------------------------------
>> 
>> End of use-livecode Digest, Vol 252, Issue 14
>> *********************************************
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list