Re: Resetting ids

2024-09-27 Thread Bob Sneidar via use-livecode
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 > wrote: > > @jbv@souslelogo.c om You can reassign id's to your > controls: "Set the id of control x to 200" will work if no other contro

Resetting ids

2024-09-27 Thread R.H. via use-livecode
@jbv@souslelogo.c 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

Re: Resetting ids

2024-09-27 Thread Bob Sneidar via use-livecode
that being the case, if it were possible to set the ID of a stack to 1000, it ought to start over. Bob S > On Sep 27, 2024, at 10:54 AM, Tom Glod via use-livecode > wrote: > > I've wondered about this for years > But thinking about it the unsigned 32 bit limit is over 4 billion .. >

Re: Resetting ids

2024-09-27 Thread Tom Glod via use-livecode
I've wondered about this for years But thinking about it the unsigned 32 bit limit is over 4 billion .. so you are 0.0093% of the way to the limit The new limit is probably 64 bit. Probably what happens when u hit the limit is it rolls over and starts at 0 or 1000 like a new stack, and the

Resetting ids

2024-09-27 Thread jbv via use-livecode
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 40). Is there a