Self registering and unregistering Components

In the left pane you see two Components (container1, container2). In the table1 DAT these two Components are registered.

Now delete container2

it’s removed from the list
Now copy container1 a couple of times
each copy registers itself in the table DAT
Delete any container and it’s unregistered again. You can also delete multiple at once.

PS: To implement this example, you’ll need to copy the macros “delTableRow” and “delTableRowDelayed” from “/local/macros” into your file’s macro folder

Hope this is useful to some
cheers
Akeem
selfRegisterMacro.toe (4.6 KB)