Ola,

I'm adding labels at runtime to my form with a tag.

Let's say I have 3 labels with the tags, "1", "2" and "3". I'm adding the tags by counting the labels + 1.

When I remove a label with tag "2" from the form there are only 2 left. When I add a new label it will add a new tag "3", but that one already exist.
So my "solution" isn't a very good one

Although tag "2" is free, I want to give it "4".

Any thoughts on how to code this properly?