Confirming a thing about IDs
Mark Wieder
ahsoftware at sonic.net
Thu Oct 11 17:15:33 EDT 2018
On 10/11/2018 12:11 PM, Geoff Canyon via use-livecode wrote:
> And as far as I know, there will never be any other button with id 1003 in
> that stack. So
>
> button id 1003 of stack "untitled 1"
>
> is a unique and permanent id for that button, no matter what card, group,
> or background it is in/on or not.
>
> Is this correct? (mind blown if it is)
Not quite. Aside from cloning objects and the datagrid weirdness, as
already mentioned, ids have been mutable for several years now. The only
restrictions are that you can't have duplicate object ids in the same
stack and that you can't decrease the id of a stack (it can only be
increased).
--
Mark Wieder
ahsoftware at gmail.com
More information about the use-livecode
mailing list