First let me make a couple of suggestions.

Use a more descriptive suject for your post. "How do you create controls at runtime?" would have been one possibility.

Search the forum. I did a search for control AND runtime and came up with a lot of hits including
this one from IROY55.

Those suggestions and others you might find helpful are in the post you'll be directed to if you click the "How to get your questions answered" in my signature.