Resetting ids

R.H. roland.huettmann at gmail.com
Fri Sep 27 16:54:57 EDT 2024


 @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
> *********************************************
>


More information about the use-livecode mailing list