Adding a Control to a Form

T

Tom Bean

When a control is created during program execution, how can the control add
itself to the form's control collection?

I'd like to do this without the control or the form having to know specific
information about one another, like the newly control being able to obtain a
reference to the containing form.

Thanks,
Tom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top